public void testToString() { Die die = new Die(); //test that toString converts last roll of die same as converting result of roll to string int roll = die.roll(); Assert.AreEqual(roll.ToString(), die.ToString()); }