public void PhoneEncodeTest() { string phone = "13600368080"; string expected = "3106308680F0"; string actual; actual = AbstractEncoder.ParityChange(phone); Assert.AreEqual(expected, actual); }
public LsbTestCase(ITestOutputHelper output) { _encoder = new Lsb(); _crypto = new RNGCryptoServiceProvider(); _designer = new SharedData.SharedData(); }
public KutterTestCase() { _designer = new SharedData.SharedData(); _encoder = new Kutter(); _crypto = new RNGCryptoServiceProvider(); }