Exemplo n.º 1
0
 public void init()
 {
     teaParty = new TeaParty();
 }
Exemplo n.º 2
0
 public void teaPartyArgumentTest()
 {
     TeaParty teaParty = new TeaParty();
     teaParty.welcome("Smith", true, true);
 }
Exemplo n.º 3
0
 public void knightTest()
 {
     TeaParty teaParty = new TeaParty();
     Assert.AreEqual(teaParty.welcome("Smith", false, true), "Hello Sir Smith");
 }
Exemplo n.º 4
0
 public void ladyTest()
 {
     TeaParty teaParty = new TeaParty();
     Assert.AreEqual(teaParty.welcome("Smith", true, false), "Hello Ms. Smith");
 }
Exemplo n.º 5
0
 public void dudeTest()
 {
     TeaParty teaParty = new TeaParty();
     Assert.AreEqual(teaParty.welcome("Smith", false, false), "Hello Mr. Smith");
 }