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()
2727 }
2828
2929 [ Test ]
30- public void Correctly_parse_inequality_comparison_with_int_operands ( )
30+ public void Correctly_parse_inequality_comparison ( )
3131 {
3232 Expression < Func < int , bool > > func = number => number != 5 ;
3333 ExpressionInspector sut = new ExpressionInspector ( ) ;
@@ -44,5 +44,14 @@ public void Correctly_parse_equality_comparison_with_captured_constant_operand()
4444 var actual = sut . Inspect ( func ) ;
4545 Assert . AreEqual ( "number => number == " + Number , actual ) ;
4646 }
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+ }
4756 }
4857}
You can’t perform that action at this time.
0 commit comments