def test_00(self):
        teststr = "Test string."

        expected = teststr
        actual = trim_str(teststr)

        self.assertEqual(expected, actual)
    def test_n1(self):
        teststr = (random.randint(0, 100) * " ") + "Test string. "

        expected = "Test string."
        actual = trim_str(teststr)

        self.assertEqual(expected, actual)