Move test functions from main source to unit tests

Merged
#93 · Created  · Last updated

Merged pull request

Merged in feature/use-tests-type (pull request #93)

acacbeb·Author: ·Closed by: ·2019-04-09

Description

Many unit-testing-specific functions are written in the main source code, rather than in the unit tests. This is confusing, since it means the unit test source code often doesn’t contain the actual test! This PR moves such functions back into the unit tests.

 

This also makes a nonlinear_testing type that allows an otherwise-private subroutine (`add_nl`) to be called by unit tests (see PR #79). The original plan was to do this for other tests, but all the other functions that get called are either modified for use by unit tests or public anyway.

0 attachments

0 comments

Loading commits...