Can any one explain
Assert.AreEqual(true, true); with proper example and explanation?
closed as unclear what you're asking by dzieciou, Kate Paulk, Dan Snell, corsiKa♦ Apr 2 at 15:34
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.
You can use Assertions to verify something is in a certain state. Normally you compare the actual against the excepted state.
This could give an assertion failure if Actual and Expected differ. During a test run you should not have any assertion failures. :)
Asserts are often used in unit-tests and automated integration tests to give feedback or actually test something during a test run.
Verifies that two specified objects are equal. The assertion fails if the objects are not equal. Displays a message if the assertion fails.
Very simple NUnit test:
Explanation is simple too, integer value