Which unit test should you use?

You are developing an ASP.NET MVC web application that includes the following method.

You need to test the AccountBalance method.
Which unit test should you use?

You are developing an ASP.NET MVC web application that includes the following method.

You need to test the AccountBalance method.
Which unit test should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
http://msdn.microsoft.com/en-us/magazine/cc163665.aspx
http://msdn.microsoft.com/enus/library/microsoft.visualstudio.testtools.unittesting.assert.areequal(v=vs.110).aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *