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

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "TELLies")
Пример #2
0
    def test_s_ends_in_vowel_y_uppercase(self):
        # Arrange
        text = "MONKEY"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "MONKEYs")
Пример #3
0
    def test_s_ends_in_y_but_not_vowel_y(self):
        # Arrange
        text = "telly"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "tellies")
Пример #4
0
    def test_s_ends_in_non_s_uppercase(self):
        # Arrange
        text = "GOAT"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "GOATs")
Пример #5
0
    def test_s_ends_in_vowel_y(self):
        # Arrange
        text = "monkey"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "monkeys")
Пример #6
0
    def test_s_ends_in_x_uppercase(self):
        # Arrange
        text = "BOX"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "BOXes")
Пример #7
0
    def test_s_ends_in_non_s(self):
        # Arrange
        text = "goat"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "goats")
Пример #8
0
    def test_s_ends_in_y_but_not_vowel_y(self):
        # Arrange
        input = "telly"

        # Act
        output = modifiers.s(input)

        # Assert
        self.assertEqual(output, "tellies")
Пример #9
0
    def test_s_ends_in_x(self):
        # Arrange
        text = "box"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "boxes")
Пример #10
0
    def test_s_ends_in_non_s(self):
        # Arrange
        input = "goat"

        # Act
        output = modifiers.s(input)

        # Assert
        self.assertEqual(output, "goats")
Пример #11
0
    def test_s_ends_in_vowel_y(self):
        # Arrange
        input = "monkey"

        # Act
        output = modifiers.s(input)

        # Assert
        self.assertEqual(output, "monkeys")
Пример #12
0
    def test_s_ends_in_x(self):
        # Arrange
        input = "box"

        # Act
        output = modifiers.s(input)

        # Assert
        self.assertEqual(output, "boxes")
Пример #13
0
    def test_s_ends_in_y_but_not_vowel_y_uppercase(self):
        # Arrange
        text = "TELLY"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "TELLies")
Пример #14
0
    def test_s_ends_in_vowel_y_uppercase(self):
        # Arrange
        text = "MONKEY"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "MONKEYs")
Пример #15
0
    def test_s_ends_in_non_s_uppercase(self):
        # Arrange
        text = "GOAT"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "GOATs")
Пример #16
0
    def test_s_ends_in_x_uppercase(self):
        # Arrange
        text = "BOX"

        # Act
        output = modifiers.s(text)

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