Code source de code_beatrix.scratchs.example_echiquier
"""
basic checking
:githublink:`%|py|5`
"""
import os
[docs]def check_echiquier():
"""
basic checkings
:githublink:`%|py|11`
"""
dirname = os.path.dirname(__file__)
f1 = os.path.join(dirname, "echiquier.sb2")
if not os.path.exists(f1):
raise FileNotFoundError(f1)
f0 = os.path.join(dirname, "echiquier0.sb2")
if not os.path.exists(f0):
raise FileNotFoundError(f0)