projects
/
TDDC76.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
5beef89
7bfb793
)
merged
author
Alma Dejus
<almde515@student.liu.se>
Wed, 11 Oct 2023 12:07:16 +0000
(14:07 +0200)
committer
Alma Dejus
<almde515@student.liu.se>
Wed, 11 Oct 2023 12:07:16 +0000
(14:07 +0200)
1
2
src/test.cc
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
src/test.cc
index 2278fe38ee358dee68cec7dd0190e43a9b697824,f6991d70f65a4d3536e82c32e053fabd88f981e8..c5d2a20ceb40844b3978c302dba87a6826439b49
---
1
/
src/test.cc
---
2
/
src/test.cc
+++ b/
src/test.cc
@@@
-86,12
-86,13
+86,16
@@@
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"};
+}
+ TEST_CASE("Memory management")
+ {
+
+ }
int main()
{