<gh_stars>10-100
from gdsfactory.add_loopback import straight_with_loopback
from gdsfactory.component import Component
from gdsfactory.difftest import difftest


def test_add_loopback() -> Component:
    c = straight_with_loopback()
    difftest(c)
    return c


if __name__ == "__main__":
    c = test_add_loopback()
    c.show()

from gdsfactory.add_loopback import straight_with_loopback
from gdsfactory.component import Component
from gdsfactory.difftest import difftest


def test_add_loopback() -> Component:
    c = straight_with_loopback()
    difftest(c)
    return c


if __name__ == "__main__":
    c = test_add_loopback()
    c.show()