def test_strategie_ai_obrana_2(): pole = "--------------------" assert ai.strategie_obrana(pole) == "nic"
def test_strategie_obrana_hrac_dva_vedle_sebe(): assert strategie_obrana("-xx-", "o", "x") == "-xxo"
def test_strategie_obrana_hrac_zleva(): assert strategie_obrana("x--", "o", "x") == "xo-"
def test_strategie_obrana_hrac_zleva_zprava(): assert strategie_obrana("-x-x-", "o", "x") == "-xox-"
def test_strategie_obrana_hrac_zprava(): assert strategie_obrana("--x", "o", "x") == "-ox"