예제 #1
0
 // Usage:
 // Card card = new Card(Suspect.Mustard);
 public Card(Suspect suspect)
 {
     cardType  = CardType.Suspect;
     cardValue = suspect.ToString();
 }
예제 #2
0
 public void ToStringTest()
 {
     Card c = new Suspect("testSuspect");
     Assert.AreEqual(c.Name, c.ToString());
 }