/src/test/run-pass/box-compare.rs

http://github.com/jruderman/rust · Rust · 7 lines · 5 code · 2 blank · 0 comment · 1 complexity · 0598fc7cd671c4564f758aa23bbc45a9 MD5 · raw file

  1. fn main() {
  2. assert (@1 < @3);
  3. assert (@@~"hello " > @@~"hello");
  4. assert (@@@~"hello" != @@@~"there");
  5. }