blob: 854a135849e5d8cc28748c6b7788c41bdcff375e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Tests are important to ensure that your code does what you think it should
// do. Tests can be run on this file with the following command: rustlings run
// tests1
//
// This test has a problem with it -- make the test compile! Make the test pass!
// Make the test fail!
fn main() {
// You can optionally experiment here.
}
#[cfg(test)]
mod tests {
#[test]
fn you_can_assert() {
assert!();
}
}
|