minimal.rs 192 B

123456789101112
  1. extern crate ralloc;
  2. #[test]
  3. fn minimal() {
  4. let a = Box::new(1);
  5. let b = Box::new(2);
  6. let c = Box::new(3);
  7. assert_eq!(*a, 1);
  8. assert_eq!(*b, 2);
  9. assert_eq!(*c, 3);
  10. }