Exemple #1
0
 def test_list(self):
     self.assertTrue(type(task2.data_structure()) is list)
Exemple #2
0
 def test_0(self):
     self.assertTrue(type(task2.data_structure()[0]) is int)
Exemple #3
0
 def test_3_2(self):
     self.assertTrue(type(task2.data_structure()[3][2]) is time)
Exemple #4
0
 def test_4(self):
     self.assertTrue(type(task2.data_structure()[4]) is set)
Exemple #5
0
 def test_3_1(self):
     self.assertTrue(type(task2.data_structure()[3][1]) is date)
Exemple #6
0
 def test_3_0(self):
     self.assertTrue(type(task2.data_structure()[3][0]) is datetime)
Exemple #7
0
 def test_3(self):
     self.assertTrue(type(task2.data_structure()[3]) is tuple)
Exemple #8
0
 def test_2(self):
     self.assertTrue(type(task2.data_structure()[2]) is str)
Exemple #9
0
 def test_1(self):
     self.assertTrue(type(task2.data_structure()[1]) is float)