예제 #1
0
 public void Leet(string message, UI ui, int customerType)
 {
     ui.SetLeeted(Leeter.Leet(message, customerType));
 }
예제 #2
0
 public void TestSecretCustomerFRA()
 {
     var ui = new UI();
     Assert.AreEqual("Leeted: 53cr3t", ui.EncryptMessage("Secret", 2));
 }
예제 #3
0
 public void TestSecretNSA()
 {
     var ui = new UI();
     Assert.AreEqual("Leeted: S3cr3t", ui.EncryptMessage("Secret", 1));
 }
예제 #4
0
 public void TestSecret()
 {
     UI ui = new UI();
     NUnit.Framework.Assert.AreEqual("Leeted: S3cr3t", ui.EncryptMessage("Secret"));
 }