mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-05 19:56:18 +00:00
16 lines
474 B
NASM
16 lines
474 B
NASM
assert "hello" === "hello"
|
|
assert "hello" !== "goodbye"
|
|
assert "game" ++ "boy" === "gameboy"
|
|
assert "fire flower" === "fire" ++ " " ++ "flower"
|
|
assert "a" === "b" == 0
|
|
assert 1 == "a" !== "b"
|
|
assert 1 + 2 * 3 ** "x" !== "y" == 7
|
|
|
|
assert !STRICMP("hello", "hello")
|
|
assert !STRICMP("hello", "HELLO")
|
|
assert !STRICMP("HeLlO", "hElLo")
|
|
assert STRICMP("HELLO", "goodBYE") > 0
|
|
assert STRICMP("hello", "GOODbye") > 0
|
|
assert STRICMP("", "hello") < 0
|
|
assert STRICMP("hello", "") > 0
|