5 #define TEST_DISTANCE_BOTH(line_segment_x,line_segment_y, point_x, point_y, expected_length) \ 8 Vector2f line_segment = Vector2f(line_segment_x, line_segment_y); \ 9 Vector2f point = Vector2f(point_x, point_y); \ 10 float result = Vector2<float>::closest_distance_between_radial_and_point( \ 14 EXPECT_FLOAT_EQ(result, expected_length); \ 19 TEST(ThreatTests, Distance)
TEST(ThreatTests, Distance)
#define TEST_DISTANCE_BOTH(line_segment_x, line_segment_y, point_x, point_y, expected_length)
int hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-