public void DecryptID_Input_0() { ArgumentNullException ex = Assert.Throws <ArgumentNullException>(() => TripleDES.DecryptID("bgaR7gIt(sl)r0(eq)")); Assert.NotNull(ex); }
public void DecryptID(string text, int result) { var c = TripleDES.DecryptID(text); Assert.Equal(result, c); }