diff --git a/test/test_desktop/courseCalculation.hpp b/test/test_desktop/courseCalculation.hpp index 969ba19..4950cc0 100644 --- a/test/test_desktop/courseCalculation.hpp +++ b/test/test_desktop/courseCalculation.hpp @@ -3,7 +3,13 @@ #include void testCourseCalculation(void) { - Point point; - std::cout << "Hello world from Test" << std::endl; - TEST_ASSERT_EQUAL_INT(20, 20); + // Point pointA(53.106725, 7.248069); // 45 + // Point pointA(53.112188, 7.264404); // 90 + Point pointA(53.112072, 7.266619); // -90 + Point pointB(53.112123, 7.265354); //Home + int res = pointA.courseTo(pointB); + std::cout << "" << std::endl; + std::cout << "" << std::endl; + std::cout << "Return Value: " << res << std::endl; + TEST_ASSERT_LESS_OR_EQUAL(10, res); }