summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/tests/test_pcb.py
blob: 5f513f3d19d1f0281ffbe2b5771d4b5324d32880 (plain)
1
2
3
4
5
6
7
import os
from ..pcb import PCB


def test_from_directory():
    test_pcb = PCB.from_directory(os.path.join(os.path.dirname(__file__), 'resources/eagle_files'))
    assert len(test_pcb.layers) == 11  # Checks all the available layer files have been read or not.