class TestSplitWeights(unittest.TestCase): def test_split_weights(self): with self.assertRaises(ValueError): split_weights([0] * 20, 12, 10) # Doesn't Raise split_weights([0] * 70, 5, 10) split_weights([0] * 12, 10, 1)
def test_split_weights(self): with self.assertRaises(ValueError): split_weights([0] * 20, 12, 10)