test_Arc3_meth (method)

class Test_Arc3_meth[source]

Bases: object

unittest for Arc3 methods

test_discretize(test_dict)[source]

Check that you can discretize an arc3

test_comp_length(test_dict)[source]

Check that you can compute the lenght of an arc3

test_comp_radius(test_dict)[source]

Check that you can compute the radius of an arc3

test_get_center(test_dict)[source]

Check that you can compute the center

test_get_middle(test_dict)[source]

Check that you can compute the middle

test_get_middle_zero()[source]

Checking that get_middle() can return 0

test_rotate(test_dict)[source]

Check that you can rotate an arc3

test_translate(test_dict)[source]

Check that you can translate an arc3

test_get_angle(test_dict)[source]

Check that the arc3 computed angle is correct

test_split_half(test_dict)[source]

Check that the arc3 split is correct

test_arc_rotate_error()[source]

Check that the arc3 rotate raise an error

test_discretize_error()[source]

Check that you can’t discretize an arc3 when an error occurs

test_translate_error()[source]

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

test_check()[source]

Check that you get the correct error on check