refactoring

This commit is contained in:
Simon Gardling
2022-05-04 15:07:13 -04:00
parent e83c490833
commit 40f070c726
2 changed files with 58 additions and 68 deletions

View File

@@ -183,6 +183,7 @@ mod tests {
("sin(x)cos(x)", true),
("x/0", true),
("(x+1)(x-3)", true),
("cos(xsin(x)x)", true),
("(2x+1)x", true),
("(2x+1)pi", true),
("pi(2x+1)", true),
@@ -223,6 +224,7 @@ mod tests {
("pipipipipipi", "π*π*π*π*π*π"),
("10pi", "10*π"),
("pi10", "π*10"),
("10pi10", "10*π*10"),
("emax(x)", "e*max(x)"),
("pisin(x)", "π*sin(x)"),
("e^sin(x)", "e^sin(x)"),