joha2 / pyrate

This is my pyrate fork. Goal is for me to provide a useful FreeCAD interface.
GNU General Public License v2.0
3 stars 1 forks source link

Quickcheck #22

Closed theinze closed 7 years ago

theinze commented 7 years ago

Advancing test test_localcoordinates.py using quickcheck, see issue https://github.com/theinze/pyrate/issues/2

Note that there is currently a failing test, see FIXME in test_localcoordinates2.py, where assertions

assert np.any(t1glob - t1loc != 0) 
assert np.any(t2glob - t2loc != 0) 
assert np.any(v1glob - v1loc != 0)
assert np.any(v2glob - v2loc != 0)

on the trivial input (everythin equals .0) fails. I guess that is the expected behaviour ?

joha2 commented 7 years ago

Yes you are right, this is expected since the transformations are homogenious. Is there a possibility to take this into account?