Example #1
0
def test_airwires():
    boards = path(CIRCUIT_DIR).walkfiles('*.brd')
    for b in boards:
        print 'board', b
        if 'kicad' in b.lower():
            print 'skipped!'
            continue
        eq_(airwires(b), 0)
Example #2
0
def test_values():
    assert airwires(join(EXAMPLES, "singlesided/singlesided.brd")) == 39
    assert airwires(join(EXAMPLES, "tutorial/demo2.brd")) == 0
Example #3
0
def air(fin, **kwargs):
    print(airwires(fin, **kwargs))
Example #4
0
def test_values():
    eq_(airwires(EXAMPLES / 'singlesided/singlesided.brd'), 39)
    eq_(airwires(EXAMPLES / 'tutorial/demo2.brd'), 0)
Example #5
0
def air(fin, **kwargs):
    print(airwires(fin, **kwargs))
Example #6
0
from eagexp.airwires import airwires

brd1 = '/usr/share/eagle/projects/examples/singlesided/singlesided.brd'
brd2 = '/usr/share/eagle/projects/examples/tutorial/demo2.brd'

if __name__ == "__main__":
    print( airwires(brd1) )    
    print( airwires(brd2) )

Example #7
0
from eagexp.airwires import airwires

brd1 = "/usr/share/eagle/projects/examples/singlesided/singlesided.brd"
brd2 = "/usr/share/eagle/projects/examples/tutorial/demo2.brd"

if __name__ == "__main__":
    print(airwires(brd1))
    print(airwires(brd2))