From be4f9e18ae4a296ec54028e672b952ce64bf79bc Mon Sep 17 00:00:00 2001 From: fpi Date: Wed, 11 Apr 2018 17:35:52 +0200 Subject: Expanded tests --- ob-spice.org | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/ob-spice.org b/ob-spice.org index 09ae92f..3bc50d6 100644 --- a/ob-spice.org +++ b/ob-spice.org @@ -199,11 +199,15 @@ Access with ~$x[0]~ or ~$x[2-len]~. #+END_SRC * Tests -#+BEGIN_SRC spice-exp :var x="4" :session - +#+BEGIN_SRC spice-exp :var x="4" :session spicetest :no-source yes +echo "Hello World" #+END_SRC -#+BEGIN_SRC spice-exp :var file="/tmp/spice_test" :results drawer - *Time Constant Measurement + +#+RESULTS: +: Hello World + +#+BEGIN_SRC spice-exp :var file="/tmp/spice_test" :results drawer :session spicetest + ,*Time Constant Measurement r1 1 0 10k c1 1 0 1p @@ -225,4 +229,26 @@ Access with ~$x[0]~ or ~$x[2-len]~. #+RESULTS: :RESULTS: + +Circuit: *time constant measurement + +Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 + + +Initial Transient Solution +-------------------------- + +Node Voltage +---- ------- +1 1 + + + +No. of Data Rows : 108 +value_at_tau = 3.679797e-01 +value_at_five_tau = 6.717322e-03 +Error: file.txt: no such variable. +Error: missing name for output. +Error: file.txt: no such variable. +Error: missing name for output. :END: -- cgit v1.2.3