From d1b2acdeadffdfda307d079011fdf8de249a0b46 Mon Sep 17 00:00:00 2001 From: Erik Broberg Date: Mon, 11 Apr 2016 12:06:35 -0400 Subject: [PATCH] Removed out dated latlonpatch test --- tests/test_latlonpatch.inl | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tests/test_latlonpatch.inl b/tests/test_latlonpatch.inl index ebe3bf7ea0..9af6d05a04 100644 --- a/tests/test_latlonpatch.inl +++ b/tests/test_latlonpatch.inl @@ -24,7 +24,7 @@ #include "gtest/gtest.h" -#include +#include #define _USE_MATH_DEFINES #include @@ -35,14 +35,7 @@ class LatLonPatchTest : public testing::Test {}; using namespace openspace; TEST_F(LatLonPatchTest, findCenterControlPoint) { - LatLonPatch patch(10, 10, 0, 0, M_PI / 4, M_PI / 4); - glm::dvec3 p0, p1First, p1Second, p2; + LatLonPatch patch(0, 0, M_PI / 4, M_PI / 4); - p0 = patch.calculateCornerPointLeftBottom(); - p2 = patch.calculateCornerPointRightBottom(); - p1First = patch.calculateCenterPoint(p0, p2); - p1Second = patch.calculateCenterPoint(p2, p0); - - ASSERT_EQ(p1First, p1Second); }