def test_GetAlt_Failed_2(self): path = self._RealPath print(path) holder = MapHolder(self._ConfigProvider) holder.loadMap(path) self.assertTrue( holder.getAlt(Point(-1, -1)) == self._Consts.InValidAlt, "error")
def test_GetAlt_Success_2(self): path = self._RealPath print(path) holder = MapHolder(self._ConfigProvider) holder.loadMap(path) self.assertTrue(holder.getAlt(Point(1, 2)) == 3, "error")