Coverage for src/code_beatrix/scratchs/example_tri/__init__.py: 78%
9 statements
« prev ^ index » next coverage.py v7.1.0, created at 2023-04-29 13:45 +0200
« prev ^ index » next coverage.py v7.1.0, created at 2023-04-29 13:45 +0200
1"""
2@file
3@brief basic checking
4"""
5import os
8def check_tri():
9 """
10 basic checkings
11 """
12 dirname = os.path.dirname(__file__)
13 f1 = os.path.join(dirname, "bubble_sort.sb2")
14 if not os.path.exists(f1):
15 raise FileNotFoundError(f1)
16 f2 = os.path.join(dirname, "bubble_sort0.sb2")
17 if not os.path.exists(f2):
18 raise FileNotFoundError(f2)