def main(): """ Calls the TEST functions in this module, but ONLY if the method to be tested has at least a partial implementation. That is, a TEST function will not be called until you begin work on the code that it is testing. """ if m1t.is_implemented('__init__'): run_test_init() if m1t.is_implemented('clone'): run_test_clone() if m1t.is_implemented('reverse'): run_test_reverse() if m1t.is_implemented('slope'): run_test_slope() if m1t.is_implemented('length'): run_test_length() if m1t.is_implemented('get_number_of_clones'): run_test_get_number_of_clones() if m1t.is_implemented('line_plus'): run_test_line_plus() if m1t.is_implemented('line_minus'): run_test_line_minus() if m1t.is_implemented('midpoint'): run_test_midpoint() if m1t.is_implemented('is_parallel'): run_test_is_parallel() if m1t.is_implemented('reset'): run_test_reset()
def main(): """ Calls the TEST functions in this module, but ONLY if the method to be tested has at least a partial implementation. That is, a TEST function will not be called until you begin work on the code that it is testing. """ if m1t.is_implemented("__init__"): run_test_init() if m1t.is_implemented("clone"): run_test_clone() if m1t.is_implemented("reverse"): run_test_reverse() if m1t.is_implemented("slope"): run_test_slope() if m1t.is_implemented("length"): run_test_length() if m1t.is_implemented("get_number_of_clones"): run_test_get_number_of_clones() if m1t.is_implemented("line_plus"): run_test_line_plus() if m1t.is_implemented("line_minus"): run_test_line_minus() if m1t.is_implemented("midpoint"): run_test_midpoint() if m1t.is_implemented("is_parallel"): run_test_is_parallel() if m1t.is_implemented("reset"): run_test_reset()