1 | <?php |
||
7 | class PointTest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | public function test_constructs_with_two_integers() |
||
13 | |||
14 | public function test_constructs_with_two_floats() |
||
18 | |||
19 | public function test_length_is_sum_of_coordinates() |
||
24 | |||
25 | public function test_distance_is_distance_from_the_origin() |
||
30 | |||
31 | public function test_move_returns_new_point() |
||
39 | } |
||
40 |