push
github
4 of 7 new or added lines in 1 file covered. (57.14%)
1 existing line in 1 file now uncovered.13 of 17 relevant lines covered (76.47%)
0.76 hits per line
|
import json |
1✔ |
|
import pathlib |
1✔ |
3 |
|
|
|
ROOT_DIR = str(pathlib.Path(__file__).absolute().parent.parent)
|
1✔ |
5 |
|
|
6 |
def my_add(x, y): |
1✔ |
7 |
return x+y
|
1✔ |
8 |
|
|
9 |
def my_mul(x, y): |
1✔ |
UNCOV
10
|
return x*y
|
× |
11 |
|
|
|
def my_load(): |
1✔ |
NEW
|
with open(ROOT_DIR+'/data/params.json', 'r') as f: |
× |
NEW
|
data = json.load(f) |
× |
NEW
|
return data
|
× |