Esempio n. 1
0
 public void WhenThereIsADoubleNumber_NotAcceptNumber()
 {
     // Arrange, Act & Assert:
     Assert.False(Sherlock.IsLegalNumber("1223"));
 }
Esempio n. 2
0
 public void WhenNumberLegal_AcceptNumber()
 {
     // Arrange, Act & Assert:
     Assert.True(Sherlock.IsLegalNumber("1234"));
 }
Esempio n. 3
0
 public void WhenLengthTooSmall_NotAcceptNumber()
 {
     // Arrange, Act & Assert:
     Assert.False(Sherlock.IsLegalNumber("123"));
 }