import unittest
from next_number_positioner import select_position


class TestNextNumberPositioner(unittest.TestCase):

    def test_it_will_choose_the_one_candidate_available(self):
        self.assertEqual(select_position([[0, 1]]), [0, 1])

    def test_it_will_return_one_of_the_candidates_given_many_candidates(self):
        self.assertIn(select_position([[0, 0], [0, 1], [0, 2], [0, 3]]), [[
            0, 0], [0, 1], [0, 2], [0, 3]])


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

80e3763c85c04439307474e20ba71bb3bd8d9053
<mask token>


class TestNextNumberPositioner(unittest.TestCase):
    <mask token>

    def test_it_will_return_one_of_the_candidates_given_many_candidates(self):
        self.assertIn(select_position([[0, 0], [0, 1], [0, 2], [0, 3]]), [[
            0, 0], [0, 1], [0, 2], [0, 3]])


<mask token>

<mask token>


class TestNextNumberPositioner(unittest.TestCase):

    def test_it_will_choose_the_one_candidate_available(self):
        self.assertEqual(select_position([[0, 1]]), [0, 1])

    def test_it_will_return_one_of_the_candidates_given_many_candidates(self):
        self.assertIn(select_position([[0, 0], [0, 1], [0, 2], [0, 3]]), [[
            0, 0], [0, 1], [0, 2], [0, 3]])


<mask token>

<mask token>


class TestNextNumberPositioner(unittest.TestCase):

    def test_it_will_choose_the_one_candidate_available(self):
        self.assertEqual(select_position([[0, 1]]), [0, 1])

    def test_it_will_return_one_of_the_candidates_given_many_candidates(self):
        self.assertIn(select_position([[0, 0], [0, 1], [0, 2], [0, 3]]), [[
            0, 0], [0, 1], [0, 2], [0, 3]])


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

import unittest
from next_number_positioner import select_position


class TestNextNumberPositioner(unittest.TestCase):

    def test_it_will_choose_the_one_candidate_available(self):
        self.assertEqual(select_position([[0, 1]]), [0, 1])

    def test_it_will_return_one_of_the_candidates_given_many_candidates(self):
        self.assertIn(select_position([[0, 0], [0, 1], [0, 2], [0, 3]]), [[
            0, 0], [0, 1], [0, 2], [0, 3]])


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