Created
September 8, 2019 22:27
-
-
Save sassman/40237e25281dcd46d0aadffaabc10df8 to your computer and use it in GitHub Desktop.
rust tdd: test/alphabet_position_test.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test/alphabet_position_test.rs | |
#[test] | |
fn it_should_replace_the_capital_a_with_1() { | |
let replaced = alphabet_position("A"); | |
assert_eq!(replaced, "1"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment