import unittest
from robot_in_a_grid import get_path


class TestRobotInAGrid(unittest.TestCase):
    def test_get_path(self):
        self.assertEqual("0-5-9-10-15-16-17-18",
                         get_path([[0, 1, 2, 3, 4],
                                   [5, -1, 6, 7, 8],
                                   [9, 10, -1, -1, -1],
                                   [-1, 15, 16, 17, 18]]))


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