示例#1
0
 public void InvalidAlphanumeric()
 {
     Assert.False(QrSegment.IsAlphanumeric(","));
     Assert.False(QrSegment.IsAlphanumeric("^"));
     Assert.False(QrSegment.IsAlphanumeric("("));
     Assert.False(QrSegment.IsAlphanumeric("a"));
 }
示例#2
0
 public void EmptyIsAlphanumeric()
 {
     Assert.True(QrSegment.IsAlphanumeric(""));
 }
示例#3
0
 public void ValidAlphanumeric()
 {
     Assert.True(QrSegment.IsAlphanumeric("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./"));
 }