Exemplo n.º 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")
Exemplo n.º 2
0
    def test_s_ends_in_vowel_y_uppercase(self):
        # Arrange
        text = "MONKEY"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "MONKEYs")
Exemplo n.º 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")
Exemplo n.º 4
0
    def test_s_ends_in_non_s_uppercase(self):
        # Arrange
        text = "GOAT"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "GOATs")
Exemplo n.º 5
0
    def test_s_ends_in_vowel_y(self):
        # Arrange
        text = "monkey"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "monkeys")
Exemplo n.º 6
0
    def test_s_ends_in_x_uppercase(self):
        # Arrange
        text = "BOX"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "BOXes")
Exemplo n.º 7
0
    def test_s_ends_in_non_s(self):
        # Arrange
        text = "goat"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "goats")
Exemplo n.º 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")
Exemplo n.º 9
0
    def test_s_ends_in_x(self):
        # Arrange
        text = "box"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "boxes")
Exemplo n.º 10
0
    def test_s_ends_in_non_s(self):
        # Arrange
        input = "goat"

        # Act
        output = modifiers.s(input)

        # Assert
        self.assertEqual(output, "goats")
Exemplo n.º 11
0
    def test_s_ends_in_vowel_y(self):
        # Arrange
        input = "monkey"

        # Act
        output = modifiers.s(input)

        # Assert
        self.assertEqual(output, "monkeys")
Exemplo n.º 12
0
    def test_s_ends_in_x(self):
        # Arrange
        input = "box"

        # Act
        output = modifiers.s(input)

        # Assert
        self.assertEqual(output, "boxes")
Exemplo n.º 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")
Exemplo n.º 14
0
    def test_s_ends_in_vowel_y_uppercase(self):
        # Arrange
        text = "MONKEY"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "MONKEYs")
Exemplo n.º 15
0
    def test_s_ends_in_non_s_uppercase(self):
        # Arrange
        text = "GOAT"

        # Act
        output = modifiers.s(text)

        # Assert
        self.assertEqual(output, "GOATs")
Exemplo n.º 16
0
    def test_s_ends_in_x_uppercase(self):
        # Arrange
        text = "BOX"

        # Act
        output = modifiers.s(text)

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