[InlineData("Visa", "MC", null)] //Person 2 public void Case3_ShouldReturnWalletInterest(string Card1, string Card2, string Card3) { double expected = CardInterestCalculation.CardCal(Card1) + CardInterestCalculation.CardCal(Card2) + CardInterestCalculation.CardCal(Card3); double actual = ClearentTestCases.CaseWithCards(Card1, Card2, Card3); Assert.Equal(expected, actual); }
// Testes the single Card Interest method public void CardCal_ShouldReturnCardInterest() { double expected = 1; double actual = CardInterestCalculation.CardCal("Discover"); Assert.Equal(expected, actual); }