Source

pygamegsoc12 / alchemymadness / test_blocks.py

Full commit
import unittest

import blocks

class TestBlocks(unittest.TestCase):

    def setUp(self):
        pass

    def test_Grid(self):
        g = blocks.Grid()
        

        self.assertEqual(len(g.grid), g.GRID_SIZE)
        self.assertEqual(len(g.grid[0]), g.GRID_SIZE)
        self.assertEqual(g.grid[0][0], (0,0,0))
        self.assertTrue(1 == 1)

if __name__ == '__main__':
    unittest.main()