12 lines
199 B
Rust
12 lines
199 B
Rust
|
use day13::can_fit;
|
||
|
|
||
|
#[test]
|
||
|
fn example1() {
|
||
|
assert!(can_fit(&[2, 1, 2, 5, 4, 3, 6, 1, 1, 9, 3, 2], 4));
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn example2() {
|
||
|
assert!(!can_fit(&[2, 7, 1, 3, 3, 4, 7, 4, 1, 8, 2], 4))
|
||
|
}
|