tests/pass/basic_logic.lua

Sat, 21 Sep 2013 14:02:16 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 21 Sep 2013 14:02:16 +0100
changeset 142
574e0baea136
parent 94
cae5af994f75
permissions
-rw-r--r--

Add math.frexp() and tests (many thanks to Florob and Link Mauve!)

94
cae5af994f75 Update basic_logic test
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 assert(0, "0");
cae5af994f75 Update basic_logic test
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 assert(1 == 1, "1 == 1");
cae5af994f75 Update basic_logic test
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 assert(1 < 2, "1 < 2");
cae5af994f75 Update basic_logic test
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 assert(2 > 1, "2 > 1");
cae5af994f75 Update basic_logic test
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 assert(1 <= 2, "1 <= 2");
cae5af994f75 Update basic_logic test
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 assert(2 <= 2, "2 <= 2");

mercurial