summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/tests
Commit message (Collapse)AuthorAgeFilesLines
* netlist: Relicensing of the GPL code to BSD-3 with the blessing of the Olivier Galibert2021-03-092-2/+2
| | | | | | | | | | copyright owners. Much thanks for that Couriersud, the main creator and contributor, but also to Jonathan Gevaryahu and Sergey Svishchev. There are small remnants in machine/NL_*, specifially breakout, pong doubles and rebound that are also copyrighted by the DICE team, whoever that means. They're not critical since they only concern these drivers and not an important core subsystem.
* netlist: catch parenthesis count mismatch in formulas. couriersud2020-10-031-1/+6
|
* netlist: code maintenance and performance optimizations. Couriersud2020-09-051-0/+19
| | | | | | | | | | | * rename some misleading type names * remove callback_t and replace by better scalable approach * hide implementations details * move sources classes from putil.h to psources.h * reduce code complexity * improve parsing performance, parsing netlists now is twice as fast. * fix issues around multi-byte string support * moved psplit into pstrutil.h
* netlist: build system improvements couriersud2020-08-241-2/+2
| | | | * Medium term this will significantly ease adding devices to netlist.
* netlist: further nl_base.h splitting into headers in core subdir. couriersud2020-07-281-1/+1
|
* netlist: unit test macros now have a "P" prefix. couriersud2020-07-101-12/+13
| | | | | * will allow to use both googletest and Catch frameworks. * on unexpected std::exception include what() in error message.
* netlist: pfunction now supports unary minus operators. couriersud2020-07-051-13/+24
|
* netlist: Add basic unit testing support. couriersud2020-07-051-0/+43
* Add google test syntax compatible unit testing support. This is a very limited subset of the google test framework and not intended ever to be a replacement. Adding a dependency to google test for the functionality required was considered to be an overkill. * nltool -c tests runs unit tests if linked in. This is *not* the case for the version of nltool compiled with TOOLS=1. * Added unit tests for plib::pfunction.