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