From 267325902d0b41cc22623ef05c61e7a622db9442 Mon Sep 17 00:00:00 2001 From: Alinson Xavier Date: Sat, 18 Nov 2017 17:14:12 -0600 Subject: [PATCH] Remove empty tests --- onerow/library/CMakeLists.txt | 2 - onerow/library/tests/knapsack2_test.cpp | 49 ------------------- .../tests/single_row_generator_test.cpp | 19 ------- 3 files changed, 70 deletions(-) delete mode 100644 onerow/library/tests/knapsack2_test.cpp delete mode 100644 onerow/library/tests/single_row_generator_test.cpp diff --git a/onerow/library/CMakeLists.txt b/onerow/library/CMakeLists.txt index 8ae7974..8f283bf 100644 --- a/onerow/library/CMakeLists.txt +++ b/onerow/library/CMakeLists.txt @@ -21,9 +21,7 @@ set(COMMON_SOURCES include/onerow/wedge_cut_generator.hpp) set(TEST_SOURCES - tests/knapsack2_test.cpp tests/rational_test.cpp - tests/single_row_generator_test.cpp tests/wedge_cut_generator_test.cpp) add_library(onerow_static ${COMMON_SOURCES}) diff --git a/onerow/library/tests/knapsack2_test.cpp b/onerow/library/tests/knapsack2_test.cpp deleted file mode 100644 index e7dcb3f..0000000 --- a/onerow/library/tests/knapsack2_test.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include -#include -#include -#include -typedef q::mpq rational; - -using std::cout; -using std::endl; - -TEST(Knapsack2Test, test_1) -{ - Knapsack2 k(rational(5,7), rational(3,5)); - -// cout << "list:\n"; -// for(auto v : k.list) -// cout << v.lower << " " << v.upper << " " << v.side << " " << v.opposed << endl; - -// cout << "has ray? " << k.has_ray << endl; -} - -TEST(Knapsack2Test, test_2) -{ - Knapsack2 k(rational(1,2), rational(1,2)); - -// cout << "left:\n"; -// each(k.left, v) -// cout << v->active << v->opposed << endl; -// -// cout << "right:\n"; -// each(k.right, v) -// cout << v->active << v->opposed << endl; -// -// cout << "has ray? " << k.has_ray << endl; -} diff --git a/onerow/library/tests/single_row_generator_test.cpp b/onerow/library/tests/single_row_generator_test.cpp deleted file mode 100644 index 1875e63..0000000 --- a/onerow/library/tests/single_row_generator_test.cpp +++ /dev/null @@ -1,19 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include -#include -#include -