Add unit tests, fix the bugs they discover #1

Merged
mih merged 76 commits from test into master 2018-09-01 08:45:30 +00:00
mih commented 2018-08-23 08:28:11 +00:00 (Migrated from github.com)

FYI: @ElectronicTeaCup @AdinaWagner

FYI: @ElectronicTeaCup @AdinaWagner
mih commented 2018-08-31 09:53:26 +00:00 (Migrated from github.com)
python -m pytest -s -v  code/tests/ --cov=code --cov-report=term-missing
...
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                         Stmts   Miss  Cover   Missing
----------------------------------------------------------
...
code/detect_events.py          307     13    96%   119, 456, 461, 493, 746-760
...
----------------------------------------------------------
TOTAL                          496     55    89%

not too bad for a start...

``` python -m pytest -s -v code/tests/ --cov=code --cov-report=term-missing ... ----------- coverage: platform linux, python 3.6.3-final-0 ----------- Name Stmts Miss Cover Missing ---------------------------------------------------------- ... code/detect_events.py 307 13 96% 119, 456, 461, 493, 746-760 ... ---------------------------------------------------------- TOTAL 496 55 89% ``` not too bad for a start...
mih commented 2018-09-01 08:45:28 +00:00 (Migrated from github.com)

I think this is good. Merging now.

I think this is good. Merging now.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
studyforrest/data-eyemovementlabels!1
No description provided.