2011-03-25 14:19:20 -05:00
|
|
|
// xfail-boot
|
2011-03-09 22:14:19 -06:00
|
|
|
fn main() {
|
|
|
|
check ("hello" < "hellr");
|
|
|
|
check ("hello " > "hello");
|
|
|
|
check ("hello" != "there");
|
|
|
|
|
|
|
|
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));
|
|
|
|
}
|