aopp-pred / rpe

An emulator for reduced floating-point precision written in Fortran.
http://rpe.readthedocs.io/
Apache License 2.0
9 stars 8 forks source link

Add a standard test fixture mechanism. #13

Closed ajdawson closed 8 years ago

ajdawson commented 8 years ago

This prevents repeatedly defining a test fixture set that needs to be updated in different locations as changes are made to the global state variables of rpe. Now the test fixtures can be updated in one and only one place, which is nice!

From here on it is expected that all unit test modules will include the EmulatorTest fixture class and all test functions will accept a context.