Test_Arc3_meth
Bases: object
object
unittest for Arc3 methods
test_discretize
Check that you can discretize an arc3
test_comp_length
Check that you can compute the lenght of an arc3
test_comp_radius
Check that you can compute the radius of an arc3
test_get_center
Check that you can compute the center
test_get_middle
Check that you can compute the middle
test_get_middle_zero
Checking that get_middle() can return 0
test_rotate
Check that you can rotate an arc3
test_translate
Check that you can translate an arc3
test_get_angle
Check that the arc3 computed angle is correct
test_split_half
Check that the arc3 split is correct
test_arc_rotate_error
Check that the arc3 rotate raise an error
test_discretize_error
Check that you can’t discretize an arc3 when an error occurs
test_translate_error
Check that you can’t translate an arc3 when an error occurs
test_check
Check that you get the correct error on check