def test_top_ten_tie(self): self.g.add_edge('A', 'K') nt.assert_equal(cocostats.get_top_ten(self.g.in_degree()), ['B', 'F', 'G', 'D', 'C', ['A', 'H'], ['E', 'I', 'K', 'J']])
def test_top_ten_tie(self): self.g.add_edge('A', 'K') nt.assert_equal( cocostats.get_top_ten(self.g.in_degree()), ['B', 'F', 'G', 'D', 'C', ['A', 'H'], ['E', 'I', 'K', 'J']])
def test_top_ten(self): nt.assert_equal(cocostats.get_top_ten(self.g.in_degree()), ['B', 'F', 'G', 'D', 'C', ['A', 'H'], ['E', 'I', 'J']])