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