test_Arc1_meth module

Created on Mon Dec 08 11:31:14 2014

@author: pierre_b

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_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_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_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_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_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