Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1""" 

2@file 

3@brief basic checking 

4""" 

5import os 

6 

7 

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)