Last active
November 21, 2015 23:08
-
-
Save walkerdb/79e9c47e43ee5d8e3688 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
class TestExtentSplitter(unittest.TestCase): | |
def setUp(self): | |
(...) | |
def test_split_first_two_element_extent_string(self): | |
split_extent = split_extents(self.extent_1_raw_text) | |
self.assertEqual(split_extent, self.extent_1_target_output) | |
# def (remaining completed tests...), etc. | |
## Tests to write: | |
# When there is a parenthetical extent, this should be split | |
# off as well, but should retain parentheses | |
# Same with extents in brackets | |
# If a parenthetical extent does not have numbers in it, do not | |
# split | |
# Ensure extents are also split by the " in " keyword | |
# Ensure trailing whitespace is removed | |
# etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment