Esempio n. 1
0
        public void PhoneEncodeTest()
        {
            string phone    = "13600368080";
            string expected = "3106308680F0";
            string actual;

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