Example #1
0
 public void WhitespaceIsNotNumeric()
 {
     Assert.False(QrSegment.IsNumeric("123\n345"));
 }
Example #2
0
 public void EmptyIsNumeric()
 {
     Assert.True(QrSegment.IsNumeric(""));
 }
Example #3
0
 public void TextIsNotNumeric()
 {
     Assert.False(QrSegment.IsNumeric("123a"));
 }
Example #4
0
 public void IsNumeric()
 {
     Assert.True(QrSegment.IsNumeric("1234"));
 }