Complete exercise: testing
This commit is contained in:
6
exercise/testing/tests/more_tests.rs
Normal file
6
exercise/testing/tests/more_tests.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
use testing::{sploosh, splish};
|
||||
|
||||
#[test]
|
||||
pub fn test_sploosh_splish() {
|
||||
assert_eq!(sploosh(splish(-1, 0), splish(1, 1), splish(3, 2)), 4);
|
||||
}
|
||||
Reference in New Issue
Block a user