Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use any of the testing framework (xUnit, JUnit, NUnit, etc.) to test the cases below please show that the test cases below passes on the

use any of the testing framework (xUnit, JUnit, NUnit, etc.) to test the cases below

please show that the test cases below passes on the Unit test.

Use C#

write a program that calculates Credit Card interest for a Person.

Visa gets 10%

MC gets 5% interest

Discover gets 1% interest

Each Card Type can have multiple cards and there can be multiple Wallets for a Person.

NOTE: SIMPLE INTEREST for this test case (means 1 month of interest, if the interest rate is 10% and the amount is 100.00 interest in this case would be 10.00)

Here are the test Cases -

1 person has 1 wallet and 3 cards (1 Visa, 1 MC 1 Discover) Each Card has a balance of $100 calculate the total interest (simple interest) for this person and per card.

1 person has 2 wallets Wallet 1 has a Visa and Discover , wallet 2 a MC - each card has $100 balance - calculate the total interest(simple interest) for this person and interest per wallet

2 people have 1 wallet each, person 1 has 1 wallet , with 2 cards MC and visa person 2 has 1 wallet 1 visa and 1 MC - each card has $100 balance - calculate the total interest(simple interest) for each person and interest per wallet

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students also viewed these Databases questions

Question

What are some of the possible scenes from our future?

Answered: 1 week ago