Test_Arc1_meth
Bases: object
object
unittest for Arc1 methods
test_check_Point
Check that you can detect a one point arc
test_check_Radius
Check that you can detect null radius
test_dicretize
Check that you can discretize an arc1
test_discretize_Point_error
Check that discretize detect a one point arc1
test_discretize_Radius_error
Check that discretize detect a null radius
test_discretize_Nb_error
Check that discretize can detect a wrong arg
test_discretize_Nb_Type_error
test_comp_length
Check that you the length return by comp_length is correct
test_comp_length_Point_error
test_comp_length_Radius_error
Check that discretize detect a null radius arc1
test_get_center
Check that the can compute the center of the arc1
test_get_middle
Check that you can compute the arc middle
test_get_middle_zero
Checking that get_middle() can return 0
test_rotate
Check that you can rotate the arc1
test_translate
Check that you can translate the arc1
test_get_angle
Check that the arc1 computed angle is correct
test_split_half
Check that the arc1 split is correct
test_plot_schematics
Check that the schematics is correct
test_arc_rotate_error
Check that the arc3 rotate raise an error
test_translate_error
Check that you can’t translate an arc1 when an error occurs