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))
Пример #3
0
 def test_num_compositions(self):
     num = num_compositions(3, 4)
     eq_(num, len(self.simplex_grid_3_4))
Пример #4
0
 def test_num_compositions(self):
     num = num_compositions(3, 4)
     eq_(num, len(self.simplex_grid_3_4))
Пример #5
0
 def test_num_compositions(self):
     num = num_compositions(3, 4)
     assert_(num == len(self.simplex_grid_3_4))
 def test_size(self):
     n = num_compositions(self.h, self.t)
     eq_(self.g.nums_actions, (n, n))