def test_size(self): n = num_compositions(self.h, self.t) assert_(self.g.nums_actions == (n, n))
def test_size(self): n = num_compositions(self.h, self.t) eq_(self.g.nums_actions, (n, n))
def test_num_compositions(self): num = num_compositions(3, 4) eq_(num, len(self.simplex_grid_3_4))
def test_num_compositions(self): num = num_compositions(3, 4) assert_(num == len(self.simplex_grid_3_4))