This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
d61d4c6af7
rust
/
tests
/
pass
/
unops.rs
6 lines
112 B
Rust
Raw
Normal View
History
Unescape
Escape
some unary operator tests
2018-08-26 13:42:02 -05:00
fn
main
(
)
{
assert_eq!
(
!
true
,
false
)
;
assert_eq!
(
!
0xFF
u16
,
0xFF00
)
;
Format tests with rustfmt (151-200 of 300)
2022-06-21 01:40:39 -05:00
assert_eq!
(
-
{
1
i16
}
,
-
1
i16
)
;
some unary operator tests
2018-08-26 13:42:02 -05:00
}
Reference in New Issue
Copy Permalink