public void PhoneEncodeTest()
        {
            string phone    = "13600368080";
            string expected = "3106308680F0";
            string actual;

            actual = AbstractEncoder.ParityChange(phone);
            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
 public LsbTestCase(ITestOutputHelper output)
 {
     _encoder  = new Lsb();
     _crypto   = new RNGCryptoServiceProvider();
     _designer = new SharedData.SharedData();
 }
Exemple #3
0
 public KutterTestCase()
 {
     _designer = new SharedData.SharedData();
     _encoder  = new Kutter();
     _crypto   = new RNGCryptoServiceProvider();
 }