def test_guess_layer_class():

    # Add any specific test cases here (filename, layer_class)
    test_vectors = [(None, 'unknown'), ('NCDRILL.TXT', 'unknown'),
                    ('example_board.gtl', 'top'),
                    ('exampmle_board.sst', 'topsilk'),
                    ('ipc-d-356.ipc', 'ipc_netlist'), ]

    for hint in hints:
        for ext in hint.ext:
            assert_equal(hint.layer, guess_layer_class('board.{}'.format(ext)))
        for name in hint.name:
            assert_equal(hint.layer, guess_layer_class('{}.pho'.format(name)))

    for filename, layer_class in test_vectors:
        assert_equal(layer_class, guess_layer_class(filename))
Creates a Quantum port on the specified network, sets
dataset/ETHPy150Open curtacircuitos/pcb-tools/gerber/tests/test_layers.py/test_guess_layer_class--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/network/quantum/quantum_connection.py/QuantumClientConnection.create_and_attach_port