You are developing an ASP.NET MVC web application that includes the following method.
You need to test the GoldMined method.
Which unit test should you use?
A. Option A
B. Option B
C. Option C
D. Option D
You are developing an ASP.NET MVC web application that includes the following method.
You need to test the GoldMined method.
Which unit test should you use?
A. Option A
B. Option B
C. Option C
D. Option D
The answer here seems to be C and not D. For example I cannot find the variable “currentGold” in answer D. Please correct me if I’m wrong
Ok, sorry I see the problem at answer C. I understand why D is the correct answer (still missing the variable but is ok). Sorry for confusion.