VFab2DReferenceTest

class ip_manager.testing.VFab2DReferenceTest

Test a 2D virtual fabrication material result against a known-good reference file.

Examples

from ip_manager.testing import VFab2DReferenceTest
from ipkiss.plugins.vfabrication.process_flow import VFabricationProcessFlow
import pytest

my_process_flow = VFabricationProcessFlow(...)

class TestMyVFab(VFab2DReferenceTest):
    @pytest.fixture
    def resolution(self):
        return 50   # 1/50 um grid

    @pytest.fixture
    def process_flow(self):
        return my_process_flow
abstract component()

Fixture returning the component (i3.PCell object) to be tested.

Needs to be implemented by the user.