{
  "id": "fn-test-expect_not_equal",
  "dataComponent": "test",
  "heading": {
    "title": "expect_not_equal",
    "badges": [
      "Testing",
      "Assert"
    ]
  },
  "synopsis": "Asserts that the actual value is not equal to the expected value, otherwise throws an error that stops the script or test suite.",
  "codeBlocks": [
    "extend(\"test\")\\nextend(\"array\")\\nextend(\"string\")\\n\\ndescribe(\"example math & array\", () => {\\n  it(\"should pass given an invalid simple addition\", () => {\\n    expect_not_equal( 13 + 37, 33 )\\n  })\\n\\n  it(\"should pass given an invalid result\", () => {\\n    expect_not_equal(\\n      array:map(x => x * 420, [7, 14, 28]),\\n     [13, 37]\\n    )\\n  })\\n})"
  ],
  "notes": [
    "expect_not_equal throws an error if the actual value matches the expected value, causing the current test to fail immediately.",
    "Use this to confirm that two values differ, ensuring your code doesn't produce an unwanted correct match."
  ]
}
