Relative Content

Tag Archive for c++unit-testing

References not properly being recognized

I’m following this tutorial on how to write C# tests, https://www.youtube.com/watch?v=HYrXogLj7vg and its a great video however I can’t seem to initialize a new Reservation object as Visual Studio does not recognize the Fundamentals folder within TestNinja. Does anyone see anything wrong with this screenshot/Code?

How can i run a C# test project from command line?

My main purpose is automation and running tests with MSBuild if it is possible. If it is not possible, the alternative is to run the tests with another command-line prompt and then view the results.

my code does not pass the test idk what to do

when I testing the code, it returns an error:
At least one of the tests failed!
Test name: GetJointPositions_Test(1.5707963267948966d,0,0,0,330.0f)
Message:
palm endY
Expected: 330.0d +/- 1.0000000000000001E-05d
But was: 210.0d
Off by: 120.0d