Complete the code to assert that two values are not equal.
[1](5, 3);
The assertNotEquals method checks that the two values are not equal, so the test passes if they differ.
Complete the code to assert that two strings are not equal.
[1]("hello", "world");
assertNotEquals checks that the two strings are different, so the test passes if they are not the same.
Fix the error in the assertion method to check values are not equal.
[1](10, 20);
The test should use assertNotEquals to verify the two values are not equal. Using assertEquals here would fail because the values are different.
Fill both blanks to assert two objects are not equal with a message.
[1]("Objects should differ", obj1, [2]);
The correct method is assertNotEquals and the second object to compare is obj2. The message helps explain the test.
Fill all three blanks to assert two integers are not equal with a custom failure message.
[1]("Values must not be equal", [2], [3]);
The method assertNotEquals checks inequality. The two integers compared are 5 and 10. The message explains the test purpose.