test_Arc1_meth (method)

class test_Arc1_meth(methodName='runTest')[source]

Bases: unittest.case.TestCase

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_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_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_plot_schematics()[source]

Check that the schematics is correct

test_comp_length_1(test_dict)

Check that you the length return by comp_length is correct

test_comp_length_2(test_dict)

Check that you the length return by comp_length is correct

test_comp_length_3(test_dict)

Check that you the length return by comp_length is correct

test_comp_length_4(test_dict)

Check that you the length return by comp_length is correct

test_comp_length_5(test_dict)

Check that you the length return by comp_length is correct

test_comp_length_6(test_dict)

Check that you the length return by comp_length is correct

test_comp_length_7(test_dict)

Check that you the length return by comp_length is correct

test_dicretize_1(test_dict)

Check that you can discretize an arc1

test_dicretize_2(test_dict)

Check that you can discretize an arc1

test_dicretize_3(test_dict)

Check that you can discretize an arc1

test_dicretize_4(test_dict)

Check that you can discretize an arc1

test_dicretize_5(test_dict)

Check that you can discretize an arc1

test_dicretize_6(test_dict)

Check that you can discretize an arc1

test_dicretize_7(test_dict)

Check that you can discretize an arc1

test_dicretize_8(test_dict)

Check that you can discretize an arc1

test_get_angle_1(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_2(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_3(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_4(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_5(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_6(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_7(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_8(test_dict)

Check that the arc1 computed angle is correct

test_get_angle_9(test_dict)

Check that the arc1 computed angle is correct

test_get_middle_1(test_dict)

Check that you can compute the arc middle

test_get_middle_2(test_dict)

Check that you can compute the arc middle

test_get_middle_3(test_dict)

Check that you can compute the arc middle

test_get_middle_4(test_dict)

Check that you can compute the arc middle

test_rotate_1(test_dict)

Check that you can rotate the arc1

test_rotate_2(test_dict)

Check that you can rotate the arc1

test_rotate_3(test_dict)

Check that you can rotate the arc1

test_split_half_1(test_dict)

Check that the arc1 split is correct

test_split_half_2(test_dict)

Check that the arc1 split is correct

test_split_half_3(test_dict)

Check that the arc1 split is correct

test_split_half_4(test_dict)

Check that the arc1 split is correct

test_split_half_5(test_dict)

Check that the arc1 split is correct

test_translate_1(test_dict)

Check that you can translate the arc1

test_translate_2(test_dict)

Check that you can translate the arc1

test_translate_3(test_dict)

Check that you can translate the arc1