# test_Segment_meth module¶

Created on Fri Dec 05 11:19:47 2014

@author: pierre_b

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

Bases: unittest.case.TestCase

unittest for Segment methods

test_check()[source]

Check that you can detect a one point segment

test_discretize_Point_error()[source]

Check that dicretize can detect a one point segment

test_discretize_Nb_error()[source]

Check that you can detect a wrong argument

test_comp_length_Point_error()[source]

Check that comp_length can detect a one point segment

test_get_middle()[source]

Check that you can compute the middle of the segment

test_rotate()[source]

Check that you can rotate the segment

test_translate()[source]

Check that you can translate the segment

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_dicretize_1(test_dict)

Check that you can discretize a segment

test_dicretize_2(test_dict)

Check that you can discretize a segment

test_dicretize_3(test_dict)

Check that you can discretize a segment