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
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!
also, error codes just tell us what type of error it was, not what the variables are. stuff like, what file, method names, file names etc
Anyway, looks like this is resolved?
$close
If you have no further questions, please use /close to mark the forum thread as answered