Implementing ecma-strings relational comparison helper.

This commit is contained in:
Ruben Ayrapetyan committed 2014-09-02 21:10:50 +04:00
1 parent 0a6e1a83f8
commit 9acbaafc8e
3 files changed
+227 -7

No files matched your search

+9
View File
@@ -20,3 +20,12 @@ assert((11 <= 11) == true);
assert((7 >= 11) == false);
assert((7 >= 7) == true);
assert('a' > '');
assert(!('' < ''));
assert(!('' > ''));
assert('abcd' > 'abc');
assert('abc' < 'abcd');
assert('abcd' <= 'abcd');
assert('abcd' >= 'abcd');
assert(!('abcd' > 'abcd'));