test_Circle_meth module

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

Bases: unittest.case.TestCase

Unittest for Class Circle

test_rotate_fail()[source]

Check that the rotate method can detect a wrong arg

test_translate_fail()[source]

Check that the translate method can detect a wrong arg

test_comp_length_1(test_dict)

Check that you can compute the circle length

test_comp_length_2(test_dict)

Check that you can compute the circle length

test_comp_length_3(test_dict)

Check that you can compute the circle length

test_discretize_1(test_dict)

Check that you can discretize the circle

test_discretize_2(test_dict)

Check that you can discretize the circle

test_get_lines_1(test_dict)

Check that you get the correct lines to draw the circle

test_get_lines_2(test_dict)

Check that you get the correct lines to draw the circle

test_rotate_1(test_dict)

Check that you can rotate a circle

test_rotate_2(test_dict)

Check that you can rotate a circle

test_rotate_3(test_dict)

Check that you can rotate a circle

test_rotate_4(test_dict)

Check that you can rotate a circle

test_translate_1(test_dict)

Check that you can translate a circle

test_translate_2(test_dict)

Check that you can translate a circle

test_translate_3(test_dict)

Check that you can translate a circle