예제 #1
0
 public void TestThatCharClassHasACorrectClassNameWhenWarrior()
 {
     var target = new CharClass("Warrior", null);
     Assert.AreEqual(target.getClassName(), "Warrior");
 }
예제 #2
0
 public void TestThatCharClassHasClassNameWhenNotValid()
 {
     var target = new CharClass("Wizard", null);
     Assert.AreEqual(target.getClassName(), "Battle Mage");
 }
예제 #3
0
 public void TestThatCharClassHasACorrectClassNameWhenMage()
 {
     var target = new CharClass("Mage", null);
     Assert.AreEqual(target.getClassName(), "Mage");
 }