diff --git a/tests/test_add.py b/tests/test_add.py index 04f05ff..3392589 100644 --- a/tests/test_add.py +++ b/tests/test_add.py @@ -2,7 +2,7 @@ import unittest -class TestTrieRegEx(unittest.TestCase): +class TestAdd(unittest.TestCase): """Tests for TrieRegEx().add() """ diff --git a/tests/test_finals.py b/tests/test_finals.py index 630b293..e60e28d 100644 --- a/tests/test_finals.py +++ b/tests/test_finals.py @@ -83,7 +83,7 @@ def test_remove_word_lower_frequency(self): "'s' should have a value of 0 (down from 1)" ) - def test_zero_frequency_should_not_appear_in_function_call(self): + def test_zero_frequency_should_not_appear(self): self.tre.remove('stars') self.assertEqual( self.tre.finals(), @@ -91,7 +91,7 @@ def test_zero_frequency_should_not_appear_in_function_call(self): "'s' should not appear in the list" ) - def test_remove_nonexisting_word_initial_with_zero_frequency(self): + def test_remove_nonexisting_final_with_zero_frequency(self): self.tre.remove('stars') # set 's': 1 -> 't': 0 self.tre.remove('spotlights') # attempt removal of nonexisting word self.assertEqual( diff --git a/tests/test_initials.py b/tests/test_initials.py index af76fb9..969fe20 100644 --- a/tests/test_initials.py +++ b/tests/test_initials.py @@ -83,7 +83,7 @@ def test_remove_word_lower_frequency(self): "'t' should have a value of 0 (down from 1)" ) - def test_zero_frequency_should_not_appear_in_function_call(self): + def test_zero_frequency_should_not_appear(self): self.tre.remove('the') self.assertEqual( self.tre.initials(), @@ -91,7 +91,7 @@ def test_zero_frequency_should_not_appear_in_function_call(self): "'t' should not appear in the list" ) - def test_remove_nonexisting_word_initial_with_zero_frequency(self): + def test_remove_nonexisting_initial_with_zero_frequency(self): self.tre.remove('the') # set 't': 1 -> 't': 0 self.tre.remove('table') # attempt removal of nonexisting word self.assertEqual(