From ffce6dcb1c1ac874e79c5f315f6478a56c400f18 Mon Sep 17 00:00:00 2001 From: pnenzi Date: Mon, 9 Aug 2004 15:26:23 +0000 Subject: [PATCH] Updated tests for resistor device. --- tests/resistance/Makefile.am | 2 +- tests/resistance/res_array.out | 12 +++++++++--- tests/resistance/res_partition.out | 6 +++++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/tests/resistance/Makefile.am b/tests/resistance/Makefile.am index 6eb7647fc..699e4071b 100644 --- a/tests/resistance/Makefile.am +++ b/tests/resistance/Makefile.am @@ -5,7 +5,7 @@ TESTS = \ res_simple.cir \ res_partition.cir -TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/../check.sh $(top_builddir)/src/ngspice +TESTS_ENVIRONMENT = $(SHELL) $(top_srcdir)/tests/bin/check.sh $(top_builddir)/src/ngspice EXTRA_DIST = \ $(TESTS) \ diff --git a/tests/resistance/res_array.out b/tests/resistance/res_array.out index 237bee010..52daf866b 100644 --- a/tests/resistance/res_array.out +++ b/tests/resistance/res_array.out @@ -56,12 +56,16 @@ No. of Data Rows : 60 tc1 0 0 tc2 0 0 defw 1e-05 1e-05 + kf 0 0 + af 0 0 Resistor: Simple linear resistor device r3 r5 r4 model rmodel1 R R - resistance 11000 10 10000 - ac 2500 5 5000 + resistance 11000 10 5000 + ac 2500 5 2500 + dtemp 0 0 0 + noisy 1 1 1 i -5.3435e-05 -5.87785e-05 -0.000117557 p 3.14083e-05 3.45492e-05 6.90983e-05 @@ -69,7 +73,9 @@ No. of Data Rows : 60 device r2 r1 model R R resistance 10000 10000 - ac 5000 0 + ac 5000 10000 + dtemp 0 0 + noisy 1 1 i -5.87785e-05 -5.87785e-05 p 3.45492e-05 3.45492e-05 diff --git a/tests/resistance/res_partition.out b/tests/resistance/res_partition.out index 6af45802c..c89ca43aa 100644 --- a/tests/resistance/res_partition.out +++ b/tests/resistance/res_partition.out @@ -26,12 +26,16 @@ Doing analysis at TEMP = 300.150000 and TNOM = 300.150000 tc1 0 tc2 0 defw 1e-05 + kf 0 + af 0 Resistor: Simple linear resistor device r2 r1 model R R resistance 5000 5000 - ac 15000 0 + ac 15000 5000 + dtemp 0 0 + noisy 1 1 i 0.0001 0.0001 p 5e-05 5e-05