File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
TestStack.FluentMVCTesting.Tests/Internal Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public void Correctly_parse_equality_comparison_with_int_operands()
27
27
}
28
28
29
29
[ Test ]
30
- public void Correctly_parse_inequality_comparison_with_int_operands ( )
30
+ public void Correctly_parse_inequality_comparison ( )
31
31
{
32
32
Expression < Func < int , bool > > func = number => number != 5 ;
33
33
ExpressionInspector sut = new ExpressionInspector ( ) ;
@@ -44,5 +44,14 @@ public void Correctly_parse_equality_comparison_with_captured_constant_operand()
44
44
var actual = sut . Inspect ( func ) ;
45
45
Assert . AreEqual ( "number => number == " + Number , actual ) ;
46
46
}
47
+
48
+ [ Test ]
49
+ public void Correctly_parse_relational_comparison ( )
50
+ {
51
+ Expression < Func < int , bool > > func = number => number < 5 ;
52
+ ExpressionInspector sut = new ExpressionInspector ( ) ;
53
+ var actual = sut . Inspect ( func ) ;
54
+ Assert . AreEqual ( "number => number < 5" , actual ) ;
55
+ }
47
56
}
48
57
}
You can’t perform that action at this time.
0 commit comments