mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 00:00:44 +01:00
Expression simplification
This commit is contained in:
5
test.cpp
5
test.cpp
@@ -232,7 +232,7 @@ void testSimplify() {
|
||||
FloatRef(2.0f));
|
||||
|
||||
assert_expression_approximates_to(a, 3);
|
||||
|
||||
SimplificationRootRef b(a);
|
||||
a.deepReduce();
|
||||
|
||||
assert_expression_approximates_to(a, 3);
|
||||
@@ -277,7 +277,8 @@ int main() {
|
||||
runTest(testPoolExpressionAllocationFail);
|
||||
runTest(testPoolExpressionAllocationFail2);
|
||||
runTest(testPoolExpressionAllocationFailOnImbricatedAdditions);
|
||||
//runTest(testStealOperand);
|
||||
runTest(testStealOperand);
|
||||
runTest(testSimplify);
|
||||
printf("\n*******************\nEnd of tests\n*******************\n\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user