Definition - Unit tests

class spydrnet_physical.ir.tests.test_definition.TestDefinition(methodName='runTest')[source]

Bases: unittest.case.TestCase

Methods:

setUp()

Hook method for setting up the test fixture before exercising it.

test_create_feedthroughs_ports()

Test feedthrough port creation

test_create_feedthroughs_ports_2()

Test feedthrough port creation with lambda naming

test_create_feedthrough()

This checks bus feedthrough from single instance

test_combine_ports()

Creates 3 port on the given definition and combines them

test_merge_instance()

test_flatten_instance()

test_get_connectivity_network()

test_merge_multiple_instance()

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_create_feedthroughs_ports()[source]

Test feedthrough port creation

test_create_feedthroughs_ports_2()[source]

Test feedthrough port creation with lambda naming

test_create_feedthrough()[source]

This checks bus feedthrough from single instance

test_combine_ports()[source]

Creates 3 port on the given definition and combines them

test_merge_instance()[source]
test_flatten_instance()[source]
test_get_connectivity_network()[source]
test_merge_multiple_instance()[source]