postfix 2 infix

This commit is contained in:
rusefi 2017-03-08 23:16:36 -05:00
parent bf837065ab
commit e1c5ca4604
1 changed files with 5 additions and 5 deletions

View File

@ -95,14 +95,14 @@ public class ParserTest {
assertParse("1 4 |", "1 or 4");
assertParse("1 4 |", "1 OR 4");
assertParse("time_since_boot 4 <", "(time_since_boot < 4)");
assertParse("1 4 |", "1 | 4");
assertParseB("time_since_boot 4 <", "(time_since_boot < 4)");
assertParseB("1 4 |", "1 | 4");
assertParse("time_since_boot 4 < rpm 0 > |", "(time_since_boot < 4) | (rpm > 0)");
assertParse("1 4 |", "1 or 4");
assertParse("1 4 |", "1 OR 4");
assertParse("1 4 &", "1 and 4");
assertParse("1 4 &", "1 AND 4");
assertParse("1 4 &", "1 & 4");
assertParseB("1 4 &", "1 & 4");
assertParse("coolant fan_off_setting >", "(coolant > fan_off_setting)");
assertParse("1 3 |", "1 OR 3");