]> gitweb.factorcode.org Git - factor.git/blob - core/math/order/order-tests.factor
665537be5da845de6428800242bbab87f1f629cf
[factor.git] / core / math / order / order-tests.factor
1 USING: kernel math.order tools.test ;
2 IN: math.order.tests
3
4 [ +lt+ ] [ "ab" "abc" <=> ] unit-test
5 [ +gt+ ] [ "abc" "ab" <=> ] unit-test
6 [ +lt+ ] [ 3 4 <=> ] unit-test
7 [ +eq+ ] [ 4 4 <=> ] unit-test
8 [ +gt+ ] [ 4 3 <=> ] unit-test
9