308 |
checkInterp(vs, vs2, interp , 1, cs1, [0, 1, 0], [-1, 0, 0]) |
checkInterp(vs, vs2, interp , 1, cs1, [0, 1, 0], [-1, 0, 0]) |
309 |
checkInterp(vs, vs2, interp , .5, cs1, [0, 1, 0], [-.5, 1, 0]) |
checkInterp(vs, vs2, interp , .5, cs1, [0, 1, 0], [-.5, 1, 0]) |
310 |
|
|
311 |
|
def testBox(): |
312 |
|
cs1 = vs.orthoBoxCS(0, "A", 1, 2, 3, 4, 5, 6, 7) |
313 |
|
wh = zeros(2, 'f') |
314 |
|
vs.coords.getSqSize(cs1, wh) |
315 |
|
failUnlessEqual(wh[0], 6); |
316 |
|
failUnlessEqual(wh[1], 7); |
317 |
|
|
318 |
# : vim: set syntax=python : |
# : vim: set syntax=python : |