Files
ngspice/tests
rlar d0897fd0c4 src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)'
identified and reported by Marcel Hendrix,
expressions of this kind could trigger a segmentation violation.

PTdifferentiate() roughly evaluates to
  ternary_fcn(ge0(0-expr), 0, PTdifferentate(expr))
and mkb() optimizes
  0 - expr --> unary_minus(expr)

IFeval() invokes PTeval() for the derivative too,
PTeval() looks at the incorrect tree->funcnum
  and tries to PTeval for a second argument which is not there,
     (unary_minus does not have a second argument)
  causing a segmentation fault.
2016-03-09 20:24:37 +01:00
..
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2015-03-30 16:02:41 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2015-03-31 14:12:33 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2015-03-30 16:02:41 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2012-10-26 18:30:14 +02:00
2015-03-31 17:25:02 +02:00
2005-09-06 20:30:11 +00:00

ngspice test and example files:
===============================

This directory is organized as a tree of subdirectories containing test files
for devices and analyses implemented in ngspice.

Some files comes from the original Spice3f5 package and others have been 
contributed by developers and users.


File Extension Convention:

.cir : Circuit file. This can be a simple circuit description or a spice2
       input file.
.out : .cir files have been run and results are recorded into this
       type of file. This is useful if want to test ngspice against
       known (hopefully correct results).        
               
REPLICATE TESTS

To replicate tests you have to launch configure without any option and
compile ngspice. In the future this will change.

TO ADD NEW TESTS

Take an existing test and adopt it to your liking.  Add the test
script and its supporting files to Makefile.am.  Use `make check' to
see your new test in action.