(affineArray, slope, intercept)
| 44 | |
| 45 | # ------------------------------------------------------------------------------ |
| 46 | def TestAffineArray(affineArray, slope, intercept): |
| 47 | affineArray.SetNumberOfTuples(42) |
| 48 | affineArray.ConstructBackend(slope, intercept) |
| 49 | if not CheckResult(affineArray.GetValue(1), slope + intercept): |
| 50 | print("ERROR: {} failed.".format(type(affineArray))) |
| 51 | |
| 52 | |
| 53 | # ------------------------------------------------------------------------------ |
no test coverage detected