From 5beef896563d3bdba11cc7750f672b864266374b Mon Sep 17 00:00:00 2001 From: Alma Dejus Date: Wed, 11 Oct 2023 13:58:04 +0200 Subject: [PATCH] Added new testcase --- src/test.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test.cc b/src/test.cc index 57ad9a0..2278fe3 100644 --- a/src/test.cc +++ b/src/test.cc @@ -86,9 +86,12 @@ TEST_CASE("Noder") CHECK( my_exp.get_infix() == "((3+2.000)^(7*1.500))" ); CHECK( my_exp.get_prefix() == "^ + 3 2.000 * 7 1.500" ); CHECK( my_exp.get_value() == 21836601.3427713849 ); - } } +TEST_CASE("Expression") +{ + Expression e{"(1+2)^3"}; +} int main() { -- 2.30.2