# test_Arc1_meth (method)¶

class Test_Arc1_meth[source]

Bases: object

unittest for Arc1 methods

test_check_Point()[source]

Check that you can detect a one point arc

test_check_Radius()[source]

Check that you can detect null radius

test_dicretize(test_dict)[source]

Check that you can discretize an arc1

test_discretize_Point_error()[source]

Check that discretize detect a one point arc1

test_discretize_Radius_error()[source]

Check that discretize detect a null radius

test_discretize_Nb_error()[source]

Check that discretize can detect a wrong arg

test_discretize_Nb_Type_error()[source]

Check that discretize can detect a wrong arg

test_comp_length(test_dict)[source]

Check that you the length return by comp_length is correct

test_comp_length_Point_error()[source]

Check that discretize detect a one point arc1

test_comp_length_Radius_error()[source]

Check that discretize detect a null radius arc1

test_get_center()[source]

Check that the can compute the center of the arc1

test_get_middle(test_dict)[source]

Check that you can compute the arc middle

test_get_middle_zero()[source]

Checking that get_middle() can return 0

test_rotate(test_dict)[source]

Check that you can rotate the arc1

test_translate(test_dict)[source]

Check that you can translate the arc1

test_get_angle(test_dict)[source]

Check that the arc1 computed angle is correct

test_split_half(test_dict)[source]

Check that the arc1 split is correct

test_plot_schematics()[source]

Check that the schematics is correct

test_arc_rotate_error()[source]

Check that the arc3 rotate raise an error

test_translate_error()[source]

Check that you can’t translate an arc1 when an error occurs