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

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

""" 

@file 

@brief basic checking 

""" 

import os 

 

 

def check_tri(): 

""" 

basic checkings 

""" 

dirname = os.path.dirname(__file__) 

f1 = os.path.join(dirname, "bubble_sort.sb2") 

if not os.path.exists(f1): 

raise FileNotFoundError(f1) 

f2 = os.path.join(dirname, "bubble_sort0.sb2") 

if not os.path.exists(f2): 

raise FileNotFoundError(f2)