From 626f5c582ceaab36a8d7dd634d3714cfcbea248c Mon Sep 17 00:00:00 2001 From: Brandon Lai-Cheong <brandon.lai-cheong@uwaterloo.ca> Date: Tue, 3 Dec 2024 12:40:55 -0500 Subject: [PATCH] removed unused file --- tests/randomized_union_tests.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 tests/randomized_union_tests.cpp diff --git a/tests/randomized_union_tests.cpp b/tests/randomized_union_tests.cpp deleted file mode 100644 index e901e6f..0000000 --- a/tests/randomized_union_tests.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include <gtest/gtest.h> -#include <triangle.h> -#include <union.h> - -class RandomizedUnionTests { - public testing::TestWithParam<> -}; - -float triangleArea() { - -} - -TEST_P(RandomizedUnionTests, RandomTest) -{ - - Triangle top = Triangle({0, 5}, {3, 2}, {5, 3}, 1, 1); - Triangle bottom = Triangle({0.1, 9}, {2, 4}, {5,5}, 2, 2); - - auto results = unionize(bottom, top); - - std::vector<Triangle> expected_results_1 = { - Triangle({0.1, 9}, {1.91038, 4.23585}, {5,5}, 2, 2), - Triangle({1.91038,4.23585}, {2.27273,4.09091}, {5, 5}, 2, 2), - Triangle({0,5}, {3,2}, {5,3}, 1, 1) - }; - - EXPECT_EQ(results, expected_results_1); -} \ No newline at end of file -- GitLab