邓danie的博客#文件名runtest.pyimport randomimport unittestclass TestSequenceFunctions(unittest.TestCase):def setUp(self):self.seq = list(range(10))def test_shuffle(self):# make sure the shuffled sequence does not ...
class SampleTest(unittest.TestCase): def setUp(self): print create a new Sample self._sample = Sample(b64e5843ca7db8199c405be565fa7f57) def tearDown(self): print Destory the sample self._sam