public void Account_calculate_interest() { //arrange Account a = new Investment(1000, (decimal).10, 10); //act a.GetInterest(); //assert decimal expected = 1100; decimal actual = a.Balance; Assert.AreEqual(expected, actual); }