1# -*- coding: utf-8 -*- 2""" 3Luca Delucchi 4""" 5 6from grass.gunittest.case import TestCase 7from grass.gunittest.main import test 8 9from grass.pygrass.gis.region import Region 10 11 12class RegionTestCase(TestCase): 13 14 def test_bounds(self): 15 reg1 = Region() 16 reg2 = Region() 17 self.assertTrue(reg1, reg2) 18 north = reg2.north 19 reg2.north = 0 20 self.assertNotEqual(reg1.north, reg2.north) 21 reg2.north = north 22 23 24if __name__ == '__main__': 25 test() 26