javascript assertequals

JavaScript
describe("Example Tests", function() {
  it("Example Test Case", function() {
    Test.assertEquals(add(1, 1), 2, "optional message");
  });
});
Source

Also in JavaScript: