Test_Segment_meth
Bases: object
object
unittest for Segment methods
test_check
Check that you can detect a one point segment
test_dicretize
Check that you can discretize a segment
test_discretize_Point_error
Check that dicretize can detect a one point segment
test_discretize_Nb_error
Check that you can detect a wrong argument
test_comp_length
Check that you the length return by comp_length is correct
test_comp_length_Point_error
Check that comp_length can detect a one point segment
test_get_middle
Check that you can compute the middle of the segment
test_rotate
Check that you can rotate the segment
test_translate
Check that you can translate the segment
test_split_half
Check that the segment split is correct
test_is_on
Check that the segment is_on_line method is correct
test_distance
Check that the segment comp_distance method is correct