test_Arc2_meth (method)

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

Bases: unittest.case.TestCase

unittest for Arc2 methods

test_check_Point()[source]

Check that you can detect a one point arc

test_check_Angle()[source]

Check that you can detect null angle

test_discretize_Point_error()[source]

Check that dicretize can detect a one point arc2

test_discretize_Angle_error()[source]

Check that discretize can detect a null angle arc2

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 comp_length can detect a one point arc2

test_comp_length_angle_error()[source]

Check that comp_length can detect a null angle arc2

test_comp_radius()[source]

Check that the radius is correct

test_get_center()[source]

Check that the center is returned correctly

test_get_end()[source]

Check that the end 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_dicretize_1(test_dict)

Check that you can discretize an arc2

test_dicretize_2(test_dict)

Check that you can discretize an arc2

test_dicretize_3(test_dict)

Check that you can discretize an arc2

test_dicretize_4(test_dict)

Check that you can discretize an arc2

test_dicretize_5(test_dict)

Check that you can discretize an arc2

test_dicretize_6(test_dict)

Check that you can discretize an arc2

test_dicretize_7(test_dict)

Check that you can discretize an arc2

test_dicretize_8(test_dict)

Check that you can discretize an arc2

test_get_angle_1(test_dict)

Check that the arc2 computed angle is correct

test_get_angle_2(test_dict)

Check that the arc2 computed angle is correct

test_get_angle_3(test_dict)

Check that the arc2 computed angle is correct

test_get_middle_1(test_dict)

Check that the middle is computed correctly

test_get_middle_2(test_dict)

Check that the middle is computed correctly

test_get_middle_3(test_dict)

Check that the middle is computed correctly

test_rotate_1(test_dict)

Check that you can rotate the arc2

test_rotate_2(test_dict)

Check that you can rotate the arc2

test_rotate_3(test_dict)

Check that you can rotate the arc2

test_split_half_1(test_dict)

Check that the arc2 split is correct

test_split_half_2(test_dict)

Check that the arc2 split is correct

test_split_half_3(test_dict)

Check that the arc2 split is correct

test_split_half_4(test_dict)

Check that the arc2 split is correct

test_translate_1(test_dict)

Check that you can translate the arc2

test_translate_2(test_dict)

Check that you can translate the arc2

test_translate_3(test_dict)

Check that you can translate the arc2