rformassspectrometry / MsIO

Serializing/importing mass spectrometry data objects eventually using language-agnostic formats.
https://rformassspectrometry.github.io/MsIO
2 stars 0 forks source link

refactor: clean up testthat.R #5

Closed jorainer closed 2 months ago

jorainer commented 2 months ago

Just moved code from the testthat.R into the respective unit tests for the various objects. That way we keep the testthat file clean - and assure that the individual unit tests are not affected by the libraries loaded in the individual unit test files.

variables that would be shared/used in more than one unit test file should however go back to testthat.R - but I haven't seen any so far (?)