def testPersonToLine(self): p = Person("a", "b", "c", "d") l = p.toTextLine() self.assertEqual("a b c d", l)
def testPersonConstructor(self): p = Person("a", "b", "c", "d") self.assertPerson(p)