예제 #1
0
 public void Vector1()
 {
     CollectionAssert.AreEqual(GetStringBytes(string.Empty), Base32.Decode(string.Empty));
 }
예제 #2
0
 public void Vector2()
 {
     CollectionAssert.AreEqual(GetStringBytes("f"), Base32.Decode("MY======"));
 }
예제 #3
0
 public void Vector5()
 {
     Assert.AreEqual("mzxw6yq", Base32.Encode(GetStringBytes("foob")));
 }
예제 #4
0
 public void Vector7()
 {
     Assert.AreEqual("mzxw6ytboi", Base32.Encode(GetStringBytes("foobar")));
 }
예제 #5
0
 public void Vector2()
 {
     Assert.AreEqual("my", Base32.Encode(GetStringBytes("f")));
 }
예제 #6
0
 public void Vector3()
 {
     Assert.AreEqual("mzxq", Base32.Encode(GetStringBytes("fo")));
 }
예제 #7
0
 public void Vector5()
 {
     CollectionAssert.AreEqual(getStringBytes("foob"), Base32.Decode("MZXW6YQ="));
 }
예제 #8
0
 public void Vector6()
 {
     Assert.AreEqual("MZXW6YTB", Base32.Encode(getStringBytes("fooba")));
 }
예제 #9
0
 public void Vector6()
 {
     Assert.AreEqual("mzxw6ytb", Base32.Encode(getStringBytes("fooba")));
 }
예제 #10
0
 public void Vector3()
 {
     CollectionAssert.AreEqual(getStringBytes("fo"), Base32.Decode("MZXQ===="));
 }
예제 #11
0
 public void Vector4()
 {
     Assert.AreEqual("mzxw6", Base32.Encode(getStringBytes("foo")));
 }
예제 #12
0
 public void Vector7()
 {
     CollectionAssert.AreEqual(getStringBytes("foobar"), Base32.Decode("MZXW6YTBOI======"));
 }
예제 #13
0
 public void Vector7()
 {
     Assert.AreEqual("MZXW6YTBOI======", Base32.Encode(getStringBytes("foobar")));
 }
예제 #14
0
 public void Vector4()
 {
     CollectionAssert.AreEqual(GetStringBytes("foo"), Base32.Decode("MZXW6==="));
 }
예제 #15
0
 public void Vector1()
 {
     Assert.AreEqual(string.Empty, Base32.Encode(GetStringBytes(string.Empty)));
 }
예제 #16
0
 public void Vector6()
 {
     CollectionAssert.AreEqual(GetStringBytes("fooba"), Base32.Decode("MZXW6YTB"));
 }
예제 #17
0
 public void Vector3()
 {
     Assert.AreEqual("MZXQ====", Base32.Encode(getStringBytes("fo")));
 }