<

Question 20


70-486 Skills Measured >> 4.3 Troubleshoot and Debug Web Applications >>

Question

You are developing an ASP.NET MVC web application that includes the following method.
public double AccountBalance(double currentBalance, double transactionAmmont)
{
double finalBalance = 0.00;
finalBalance = currentBalanced + transactionAmount;
return finalBalance;
}
You need to test the AccountBalance method. Which unit test should you use?

Answer:

C