def test_no_cells():
    n_cells = sgrid.cell_count((2, 3))
    assert n_cells == 0
def test_no_cells():
    n_cells = sgrid.cell_count((2, 3))
    assert n_cells == 0
def test_cell_count_one_cell():
    n_cells = sgrid.cell_count((3, 3))
    assert n_cells == 1
def test_no_cells():
    n_cells = sgrid.cell_count((2, 3))
    assert_equal(n_cells, 0)
def test_cell_count_one_cell():
    n_cells = sgrid.cell_count((3, 3))
    assert n_cells == 1
def test_one_cell():
    n_cells = sgrid.cell_count((3, 3))
    assert_equal(n_cells, 1)
Beispiel #7
0
def test_no_cells():
    n_cells = sgrid.cell_count((2, 3))
    assert_equal(n_cells, 0)
Beispiel #8
0
def test_one_cell():
    n_cells = sgrid.cell_count((3, 3))
    assert_equal(n_cells, 1)
 def test_no_cells(self):
     n_cells = sgrid.cell_count((2, 3))
     self.assertEqual(n_cells, 0)
 def test_one_cell(self):
     n_cells = sgrid.cell_count((3, 3))
     self.assertEqual(n_cells, 1)