Completed
Push — master ( 233f70...185362 )
by
unknown
10s
created

test_simple_lbd()   A

Complexity

Conditions 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
1
""" Tests on scripts
2
"""
3
4
import numpy as np
5
import pytest
6
7
from ne2001.scripts import simple_lb
8
9
def test_simple_lbd():
10
    # Simple l,b
11
    pargs = simple_lb.parser(['1','1'])
12
    simple_lb.main(pargs)
13
    # Add d
14
    pargs = simple_lb.parser(['1','1','-d 50'])
15
    simple_lb.main(pargs)
16
17