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