From 4e34f7707123b40d937a6f591015b0877a357220 Mon Sep 17 00:00:00 2001 From: devbisme Date: Mon, 8 Jul 2024 07:22:44 -0400 Subject: [PATCH] test: Added simple SVG test example. --- tests/examples/svg/simple.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/examples/svg/simple.py diff --git a/tests/examples/svg/simple.py b/tests/examples/svg/simple.py new file mode 100644 index 00000000..86e395cb --- /dev/null +++ b/tests/examples/svg/simple.py @@ -0,0 +1,17 @@ +import svg_setup +from skidl import * + +q = Part(lib="Device", name="Q_PNP_CBE", symtx="") +e = Net("E") +q.E += e +q.C += e +# q.C += q.E + +c = Part("Device", "C_Polarized") +l = Part("Device", "L") +c | l + +fc = Part("Device", "FrequencyCounter") +fc[1] += fc[2] + +generate_svg()