Пример #1
0
    def test_ed_ends_in_non_e_and_non_y_uppercase(self):
        # Arrange
        text = "JUMP"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "JUMPed")
Пример #2
0
    def test_ed_ends_in_y_but_not_vowel_y_uppercase(self):
        # Arrange
        text = "SHIMMY"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "SHIMMied")
Пример #3
0
    def test_ed_ends_in_non_e_and_non_y(self):
        # Arrange
        text = "jump"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "jumped")
Пример #4
0
    def test_ed_ends_in_e_uppercase(self):
        # Arrange
        text = "GLIDE"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "GLIDEd")
Пример #5
0
    def test_ed_ends_in_y_but_not_vowel_y(self):
        # Arrange
        text = "shimmy"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "shimmied")
Пример #6
0
    def test_ed_ends_in_non_e_and_non_y(self):
        # Arrange
        input = "jump"

        # Act
        output = modifiers.ed(input)

        # Assert
        self.assertEqual(output, "jumped")
Пример #7
0
    def test_ed_ends_in_e(self):
        # Arrange
        text = "glide"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "glided")
Пример #8
0
    def test_ed_ends_in_y_but_not_vowel_y(self):
        # Arrange
        input = "shimmy"

        # Act
        output = modifiers.ed(input)

        # Assert
        self.assertEqual(output, "shimmied")
Пример #9
0
    def test_ed_ends_in_e(self):
        # Arrange
        input = "glide"

        # Act
        output = modifiers.ed(input)

        # Assert
        self.assertEqual(output, "glided")
Пример #10
0
    def test_ed_ends_in_non_e_and_non_y_uppercase(self):
        # Arrange
        text = "JUMP"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "JUMPed")
Пример #11
0
    def test_ed_ends_in_y_but_not_vowel_y_uppercase(self):
        # Arrange
        text = "SHIMMY"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "SHIMMied")
Пример #12
0
    def test_ed_ends_in_e_uppercase(self):
        # Arrange
        text = "GLIDE"

        # Act
        output = modifiers.ed(text)

        # Assert
        self.assertEqual(output, "GLIDEd")