Skip to content

Commit

Permalink
Fix schematic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mph- committed Dec 29, 2023
1 parent 4e63aa6 commit adf37e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lcapy/tests/test_schematic.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_schematic1(self):
\coordinate (3) at (2.5,0);
\coordinate (0) at (4.5,0);
\draw (1) to [R, l_=$1\,\mbox{$\Omega$}$, n=R1] (2);
\draw[-] (2) to (3);
\draw[-] (2) to [short, n=Wanon1] (3);
\draw (3) to [C, l_=$2\,\mbox{F}$, n=C1] (0);
\draw (1) node[ocirc] {};
\draw (0) node[ocirc] {};
Expand Down Expand Up @@ -54,9 +54,9 @@ def test_schematic2(self):
\coordinate (1) at (0,0);
\coordinate (2) at (2,0);
\coordinate (3) at (4,0);
\draw (1) to [R, l_={$R_{1}$}{=$1\,\mbox{$\Omega$}$}, n=R1] (2);
\draw (2) to [R, l_={$R_{2}$}{=$2\,\mbox{$\Omega$}$}, n=R2] (3);
\draw (1) to [C, l_={$C$}{=$3\,\mbox{F}$}, n=C] (3);
\draw (1) to [R, l_={$R_{1}$=$1\,\mbox{$\Omega$}$}, n=R1] (2);
\draw (2) to [R, l_={$R_{2}$=$2\,\mbox{$\Omega$}$}, n=R2] (3);
\draw (1) to [C, l_={$C$=$3\,\mbox{F}$}, n=C] (3);
\draw (1) node[circ] {};
\draw (2) node[circ] {};
\draw (3) node[circ] {};
Expand Down

0 comments on commit adf37e1

Please sign in to comment.