def test_getColorMapRgb(self): """tests for getColorMapRgb""" mf = MotifFormatter() self.assertEqual(mf.getColorMapRgb(self.motif_results),\ self.color_map_rgb)
def test_getColorMapS0(self): """tests for getColorMapS0""" mf = MotifFormatter() module_ids = ['1','2','3','4'] self.assertEqual(mf.getColorMapS0(module_ids),self.color_map)
def test_getColorMapS0(self): """tests for getColorMapS0""" mf = MotifFormatter() module_ids = ["1", "2", "3", "4"] self.assertEqual(mf.getColorMapS0(module_ids), self.color_map)