import unittest
from randterrainpy import *


class TerrainTesterPy(unittest.TestCase):

    def setUp(self):
        pass

@@ -115,9 +115,728 @@
     
-pass
+self.ter1 = Terrain(1, 1)%0A        self.ter2 = Terrain(2, 4)%0A        self.ter3 = Terrain(1, 1)%0A%0A    def test_getitem(self):%0A        self.assertEqual(self.ter1%5B0, 0%5D, 0)%0A        self.assertEqual(self.ter2%5B1, 2%5D, 0)%0A%0A    def test_eq(self):%0A        self.assertEqual(self.ter1, self.ter3)%0A        self.assertNotEqual(self.ter1, self.ter2)%0A%0A    def test_setitem(self):%0A        self.ter1%5B0, 0%5D = 1%0A        self.assertEqual(self.ter1%5B0, 0%5D, 1)%0A        self.ter2%5B1, 2%5D = 0.5%0A        self.assertEqual(self.ter2%5B1, 2%5D, 0.5)%0A%0A    def test_add(self):%0A        self.assertRaises(InvalidDimensionsError, self.ter1.__add__, self.ter2)%0A        self.assertEqual(self.ter1+self.ter3, self.ter1)%0A%0A%0Aif __name__ == %22__main__%22:%0A    unittest.main()
 %0A

Add tests for indexing, equality and addition for Terrain