Account for the new string-only node structure.

The output has to be the same as the user-provided input, as the
tree isn't converted to numbers until evaluation.
This commit is contained in:
Danila Fedorin 2017-08-18 16:31:54 -07:00
parent 50ede6460c
commit 553c7354c1
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class CalculationTests {
testOutput("2^50", "(2^50)", "112589990684262");
testOutput("7^(-sqrt2*17)", "(7^((sqrt(2)*17))`)", "4.81354609155297814551845300063563");
testEvalError("0^0", "(0^0)");
testEvalError("(-13)^.9999", "((13)`^0.9999)");
testEvalError("(-13)^.9999", "((13)`^.9999)");
}
}