blob: 5eb918a788d41de36973b348f23ae49d42f60499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// tests1.rs
// 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 --test exercises/tests/tests1.rs
// This test has a problem with it -- make the test compile! Make the test
// pass! Make the test fail! Execute `rustlings hint tests1` for hints :)
#[cfg(test)]
mod tests {
#[test]
fn you_can_assert() {
assert!();
}
}
|