Changeset 15131 for stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/InfixExpressionParserTest.cs
- Timestamp:
- 07/06/17 10:19:37 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/branches/symbreg-factors-2650/HeuristicLab.Tests (added) merged: 14276-14277,14330,14351,14399,14497-14499,14534-14535,14539,14542,14592,14716,14751,14761,14765,14825
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/InfixExpressionParserTest.cs
r14565 r15131 37 37 Console.WriteLine(formatter.Format(parser.Parse("3*3"))); 38 38 Console.WriteLine(formatter.Format(parser.Parse("3 * 4"))); 39 Console.WriteLine(formatter.Format(parser.Parse("123E-03") 39 Console.WriteLine(formatter.Format(parser.Parse("123E-03"))); 40 40 Console.WriteLine(formatter.Format(parser.Parse("123e-03"))); 41 41 Console.WriteLine(formatter.Format(parser.Parse("123e+03"))); … … 106 106 Console.WriteLine(formatter.Format(parser.Parse("x * LAG('x', +1)"))); 107 107 108 Console.WriteLine(formatter.Format(parser.Parse("x [1.0] * y"))); 109 Console.WriteLine(formatter.Format(parser.Parse("x [1.0, 2.0] * y [1.0, 2.0]"))); 110 Console.WriteLine(formatter.Format(parser.Parse("x[1] * y"))); 111 Console.WriteLine(formatter.Format(parser.Parse("x[1, 2] * y [1, 2]"))); 112 113 Console.WriteLine(formatter.Format(parser.Parse("x [+1.0] * y"))); 114 Console.WriteLine(formatter.Format(parser.Parse("x [-1.0] * y"))); 115 Console.WriteLine(formatter.Format(parser.Parse("x [-1.0, -2.0] * y [+1.0, +2.0]"))); 116 117 Console.WriteLine(formatter.Format(parser.Parse("x='bla' * y"))); 118 Console.WriteLine(formatter.Format(parser.Parse("x = 'bla'"))); 119 Console.WriteLine(formatter.Format(parser.Parse("x = \"bla\""))); 120 Console.WriteLine(formatter.Format(parser.Parse("1.0 * x = bla"))); 121 Console.WriteLine(formatter.Format(parser.Parse("-1.0 * x = bla"))); 122 Console.WriteLine(formatter.Format(parser.Parse("+1.0 * \"x\" = bla + y = \"bla2\""))); 108 123 } 109 124 }
Note: See TracChangeset
for help on using the changeset viewer.