# Path: tests/helpers.py
# def C(pos):
#     row = int(pos[1]) - 1
#     col = POS[pos[0]]
#     return row, col
# 
# WHITE = 1
# 
# BLACK = -1


import unittest
from .helpers import C, WHITE, BLACK
        from chess.models import Board
        from chess.models import win_pawncapture
                 'PPPPPPPP' + \
                 'R......R' 
        board = self.get_board(config)

        result = self.get_win(board)
        self.assertEqual(result, 0)

    def test_single_nowin(self):
        config = 'r..r....' + \
                 '........' + \
                 '........' + \
                 '...p....' + \
                 '....P...' + \
                 '........' + \
                 '........' + \
                 'R......R' 
        board = self.get_board(config)

        result = self.get_win(board)
        self.assertEqual(result, 0)

    def test_single_whitewin(self):
        config = 'r..r....' + \
                 '........' + \
                 '........' + \
                 '...P....' + \
                 '........' + \
                 '........' + \
                 '........' + \
                 'R......R' 

# Path: tests/helpers.py
# def C(pos):
#     row = int(pos[1]) - 1
#     col = POS[pos[0]]
#     return row, col
# 
# WHITE = 1
# 
# BLACK = -1


# Path: tests/test_win_pawncapture.py
import unittest
from .helpers import C, WHITE, BLACK
        from chess.models import Board
        from chess.models import win_pawncapture

                 'PPPPPPPP' + \
                 'R......R' 
        board = self.get_board(config)

        result = self.get_win(board)
        self.assertEqual(result, 0)

    def test_single_nowin(self):
        config = 'r..r....' + \
                 '........' + \
                 '........' + \
                 '...p....' + \
                 '....P...' + \
                 '........' + \
                 '........' + \
                 'R......R' 
        board = self.get_board(config)

        result = self.get_win(board)
        self.assertEqual(result, 0)

    def test_single_whitewin(self):
        config = 'r..r....' + \
                 '........' + \
                 '........' + \
                 '...P....' + \
                 '........' + \
                 '........' + \
                 '........' + \
                 'R......R' 

        board = self.get_board(config)