All checks were successful
Python tests (make) / test (push) Successful in 14s
Reviewed-on: #29 Co-authored-by: Josh <josh@joshuaschuett.com> Co-committed-by: Josh <josh@joshuaschuett.com>
15 lines
380 B
Python
15 lines
380 B
Python
import unittest
|
|
from binding.python_c_ffi import Board
|
|
from binding.python_c_ffi import ChessFFI
|
|
|
|
|
|
class ChessLibTestBase(unittest.TestCase):
|
|
@classmethod
|
|
def setUpClass(cls):
|
|
cls.chess_ffi = ChessFFI()
|
|
cls.chess_ffi.init_attack_cache()
|
|
|
|
|
|
def setUp(self):
|
|
# This should be an empty board for each test in the suite.
|
|
self.board = Board() |