示例#1
0
 def test_9(self):
     self.assertAlmostEqual(interface2_new.group(books, "BIOGRAPHY"), 1)
示例#2
0
 def test_10(self):
     self.assertAlmostEqual(interface2_new.group(books, "HORROR"), 1)
示例#3
0
 def test_6(self):
     self.assertAlmostEqual(interface2_new.group(books, "HISTORY"), 1)
示例#4
0
 def test_7(self):
     self.assertAlmostEqual(interface2_new.group(books, "ADVENTURE"), 1)
示例#5
0
 def test_5(self):
     self.assertAlmostEqual(interface2_new.group(books, "YOUNGADULT"), 1)
示例#6
0
 def test_4(self):
     self.assertAlmostEqual(interface2_new.group(books, "CRIME"), 1)
示例#7
0
 def test_3(self):
     self.assertAlmostEqual(interface2_new.group(books, "CLASSIC"), 1)
示例#8
0
 def test_2(self):
     self.assertAlmostEqual(interface2_new.group(books, "TRAVEL"), 1)
示例#9
0
 def test_1(self):
     self.assertAlmostEqual(interface2_new.group(books, "SCIENCEFICTION"),
                            1)