@@ -4,11 +4,31 @@ Public Class WordyTests
44 Assert.Equal( 5 , Answer( "What is 5?" ))
55 End Sub
66
7+ <Fact( Skip := "Remove this Skip property to run this test" )>
8+ Public Sub Just_a_zero()
9+ Assert.Equal( 0 , Answer( "What is 0?" ))
10+ End Sub
11+
12+ <Fact( Skip := "Remove this Skip property to run this test" )>
13+ Public Sub Just_a_negative_number()
14+ Assert.Equal(- 123 , Answer( "What is -123?" ))
15+ End Sub
16+
717 <Fact( Skip := "Remove this Skip property to run this test" )>
818 Public Sub Addition()
919 Assert.Equal( 2 , Answer( "What is 1 plus 1?" ))
1020 End Sub
1121
22+ <Fact( Skip := "Remove this Skip property to run this test" )>
23+ Public Sub Addition_with_a_left_hand_zero()
24+ Assert.Equal( 2 , Answer( "What is 0 plus 2?" ))
25+ End Sub
26+
27+ <Fact( Skip := "Remove this Skip property to run this test" )>
28+ Public Sub Addition_with_a_right_hand_zero()
29+ Assert.Equal( 3 , Answer( "What is 3 plus 0?" ))
30+ End Sub
31+
1232 <Fact( Skip := "Remove this Skip property to run this test" )>
1333 Public Sub More_addition()
1434 Assert.Equal( 55 , Answer( "What is 53 plus 2?" ))
@@ -113,4 +133,4 @@ Public Class WordyTests
113133 Public Sub Reject_prefix_notation()
114134 Assert.Throws( Of ArgumentException)( Function () Answer( "What is plus 1 2?" ))
115135 End Sub
116- End Class
136+ End Class
0 commit comments