2011-03-25 14:19:20 -05:00
|
|
|
// xfail-boot
|
2011-03-09 22:14:19 -06:00
|
|
|
fn main() {
|
2011-05-02 18:24:09 -05:00
|
|
|
check ("hello" < "hellr");
|
|
|
|
check ("hello " > "hello");
|
|
|
|
check ("hello" != "there");
|
2011-03-09 22:14:19 -06:00
|
|
|
|
2011-05-02 18:24:09 -05:00
|
|
|
check (vec(1,2,3,4) > vec(1,2,3));
|
|
|
|
check (vec(1,2,3) < vec(1,2,3,4));
|
|
|
|
check (vec(1,2,4,4) > vec(1,2,3,4));
|
|
|
|
check (vec(1,2,3,4) < vec(1,2,4,4));
|
|
|
|
check (vec(1,2,3) <= vec(1,2,3));
|
|
|
|
check (vec(1,2,3) <= vec(1,2,3,3));
|
|
|
|
check (vec(1,2,3,4) > vec(1,2,3));
|
|
|
|
check (vec(1,2,3) == vec(1,2,3));
|
|
|
|
check (vec(1,2,3) != vec(1,1,3));
|
2011-04-19 17:22:57 -05:00
|
|
|
}
|