def test_king_board_size_2(self, mock_update_db): assert 0 == run_task(2, 2, 'king', 'a', 'b')
def test_king_board_size_3(self, mock_update_db): assert 8 == run_task(3, 3, 'king', 'a', 'b')
def test_knight_board_size_3(self, mock_update_db): assert 36 == run_task(3, 3, 'knight', 'a', 'b')
def test_king_board_size_1(self, mock_update_db): assert 1 == run_task(1, 1, 'king', 'a', 'b')
def test_knight_board_size_1(self, mock_update_db): assert 1 == run_task(1, 1, 'knight', 'a', 'b')
def test_knight_board_size_2(self, mock_update_db): assert 6 == run_task(2, 2, 'knight', 'a', 'b')
def test_bishop_board_size_2(self, mock_update_db): assert 4 == run_task(2, 2, 'bishop', 'a', 'b')
def test_bishop_board_size_3(self, mock_update_db): assert 26 == run_task(3, 3, 'bishop', 'a', 'b')
def test_bishop_board_size_1(self, mock_update_db): assert 1 == run_task(1, 1, 'bishop', 'a', 'b')
def test_rook_board_size_3(self, mock_update_db): assert 6 == run_task(3, 3, 'rook', 'a', 'b')
def test_rook_board_size_2(self, mock_update_db): assert 2 == run_task(2, 2, 'rook', 'a', 'b')
def test_rook_board_size_1(self, mock_update_db): assert 1 == run_task(1, 1, 'rook', 'a', 'b')
def test_queen_board_size_1(self, mock_update_db): assert 92 == run_task(8, 8, 'queen', 'a', 'b')