moved & deleted tests
opeq.rs was removed as duplicating test logic in other tests
This commit is contained in:
parent
5ca574e85b
commit
7f2e37fc5c
13 changed files with 0 additions and 17 deletions
|
|
@ -1,17 +0,0 @@
|
|||
//@ run-pass
|
||||
|
||||
pub fn main() {
|
||||
let mut x: isize = 1;
|
||||
x *= 2;
|
||||
println!("{}", x);
|
||||
assert_eq!(x, 2);
|
||||
x += 3;
|
||||
println!("{}", x);
|
||||
assert_eq!(x, 5);
|
||||
x *= x;
|
||||
println!("{}", x);
|
||||
assert_eq!(x, 25);
|
||||
x /= 5;
|
||||
println!("{}", x);
|
||||
assert_eq!(x, 5);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue