From 0168b96b79db2627fdba77a8712956408aa081d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 4 Oct 2017 21:28:18 +0200 Subject: Add postgresql support --- tests/utils.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/utils.cpp') diff --git a/tests/utils.cpp b/tests/utils.cpp index c5ef7e7..6de19f0 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -11,6 +11,7 @@ #include #include #include +#include using namespace std::string_literals; @@ -171,3 +172,14 @@ TEST_CASE("dirname") CHECK(utils::dirname(".") == "."); CHECK(utils::dirname("./") == "./"); } + +TEST_CASE("is_in") +{ + CHECK((is_one_of) == true); + CHECK((is_one_of) == false); + CHECK((is_one_of) == false); + CHECK((is_one_of) == true); + CHECK((is_one_of) == false); + CHECK((is_one_of) == true); + CHECK((is_one_of) == true); +} -- cgit v1.2.3