def test_too_few_batches(self): with self.assertRaises(SystemExit, msg='too few batches'): CS.batch_mean_standard_deviation(chain, b=chain.shape[0])
def test_len_s(self): s = CS.batch_mean_standard_deviation(chain, b=None) self.assertEqual(len(s), 2)