18 Replies
why would anything be wrong here?
it seems fine, at a glance.
@Yasaki Kondo can you explain what the problem you are having is?
One problem is that you've added NUnit to your
Calculator
project, and it should just be added to your test projecttrue, good point
Factorial does also look wrong to me
the class/assembly being tested should not be aware of the tests at all
Yep, that'll give you a very big number! Those loop conditions are wrong.
nvm
I found the problem
I deleted the program.cs and now I have to create it again and leave it there
![No description](https://cdn.answeroverflow.com/1259794086521606214/image.png)
if
Calculator
is not a class library, yes
non-classlib projects need an entrypointWell I just code a long, didn't realise I did the factorial wrong
thanks for the notice
It would have helped a lot if you had said what your error actually was!
wait didn't the error shown below?
:v
you did not 🙂
well it said cs5001 I think
yeah Compiler Error CS5001
Yep, that doesn't appear in your screenshots. Also I don't have 1000's of error codes memorised, so the error text is very useful!