Created
March 4, 2014 03:00
-
-
Save axelkanakan/9339516 to your computer and use it in GitHub Desktop.
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
make_sentence: | |
should handle sentences with only words passed.: | |
Test Failed: Expected: "hello world.", instead got: "hello world" | |
Test Failed: Expected: "Quick brown fox jumped over the lazy dog.", instead got: "Quick brown fox jumped over the lazy dog" | |
should handle sentences that have commas.: | |
Test Failed: Expected: "hello, my dear.", instead got: "hello, my dear" | |
Test Failed: Expected: "one, two, three.", instead got: "one, two, three" | |
Test Failed: Expected: "One, two two, three three three, 4 4 4 4.", instead got: "One, two two, three three three, 4 4 4 4" | |
should handle sentences that already have a period at the end: | |
Test Passed: Value == "hello world." | |
Test Passed: Value == "Bye." | |
should fix sentences that have multiple periods at the end: | |
Test Failed: Expected: "hello world.", instead got: "hello world . .." | |
Test Failed: Expected: "The Earth rotates around The Sun in 365 days, I know that.", instead got: "The Earth rotates around The Sun in 365 days, I know that . . . . . . . . . . .." | |
Test::Error: Expected: "hello world.", instead got: "hello world" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment