Skip to content

Commit 3003a35

Browse files
author
Michael Wester
authored
Merge pull request #149 from raacampbell/main
update unit tests
2 parents b95e43e + fc0910e commit 3003a35

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,8 @@ Each instrument will be controlled by its own drivers, which must be installed o
131131
Similarly, the `MCLMicroDrive` class controls the Mad City Labs Micro Stage and requires the `MicroDrive.dll` dynamic-link library. The first time this class is used on a given computer, the user will be prompted to select the location of `MicroDrive.dll`. On a Windows machine, this is typically placed by default in `C:\Program Files\Mad City Labs\MicroDrive\MicroDrive.dll` during the installation process (installation files provided by MCL).
132132

133133
## Testing
134-
[runtests](src/runtests.m) tests the functionality of the
135-
simulated classes, which in turn tests the various abstract classes the
136-
simulated classes are based on. This is done automatically on a push or
137-
pull request to main.
134+
See [tests](tests) folder for unit tests of simulated classes, which in turn tests the various abstract classes the
135+
simulated classes are based on. This is done automatically on a push or pull request to main.
138136

139137
## Top-level files and directories
140138
name | description

src/runtests.m renamed to tests/simulated_tests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
classdef runtests < matlab.unittest.TestCase
1+
classdef simulated_tests < matlab.unittest.TestCase
22

33
% Run various tests on the core abstract functionality of MIC.
44

55
% In the MATLAB unittest context, run in the following manner:
66
% testCase = runtests
7-
% results = testCase.run
7+
88

99
methods (Test)
1010

0 commit comments

Comments
 (0)