Commit Graph

100 Commits

Author SHA1 Message Date
Julia Friesel 1f2801a83b Make getCycleLenghts filter for max cycle length 2018-12-21 15:30:48 +01:00
Julia Friesel 9fd0105506 Respect macCycleLength in getCyclesBefore 2018-12-21 15:30:48 +01:00
Julia Friesel 9bd0eedfaf Add test for getCycleDayNumber 2018-12-21 15:30:48 +01:00
Julia Friesel 6b0d202272 Respect maxcyclelength in getCycleForStartDay 2018-12-21 15:30:48 +01:00
Julia Friesel 3b09d93a47 Add comments and rename things for clarity 2018-11-01 15:06:18 +01:00
Julia Friesel de674590e2 Make getMensesDaysAfter work for non-bleeding day too 2018-10-25 15:06:22 +02:00
Julia Friesel 5e8bc0a3e8 Add test for getPreviousCycle 2018-10-25 09:30:44 +02:00
Julia Friesel 9188d84797 Use new isCycleStartFunctions throughout cycle module 2018-10-25 09:18:25 +02:00
Julia Friesel c2c0e0c6a2 Add getMensesDaysAfter 2018-10-23 17:38:26 +02:00
Julia Friesel 2b2e24bb5c Add isMensesStart 2018-10-23 16:24:17 +02:00
Julia Friesel de4d39557e Add test for getAllMensesStart speed 2018-10-20 09:46:55 +02:00
Julia Friesel 1aeaac8504 Don't do duplicate work in getLastMensesStart 2018-10-20 09:46:55 +02:00
Julia Friesel 61275e83a0 Ignore temp drop after 3 regular high temps 2018-10-01 18:58:02 +02:00
emelko a1eddb3cbe Adds test for mucus and temp tracking:
* late mucus shift and therefore no postovu phase
2018-10-01 11:42:22 +02:00
emelko 855b69a349 Adds test for:
* latest valid cervix shift
* late and therefore invalid cervix shift
2018-10-01 08:57:22 +02:00
Julia Friesel 562b1f2069 Fix copypasta 2018-09-28 19:48:18 +02:00
Julia Friesel fa3a6fb2e7 Ignore secondary symptom peak after end of temperature evaluation 2018-09-28 15:51:53 +02:00
emelko 19d4743d0e Leaves out position value for db fixtures and test data 2018-09-20 21:00:43 +02:00
emelko 0747a07aac Adding cervix-temp tests * when args are wrong * testing minus-8 rule 2018-09-19 10:43:56 +02:00
emelko 76056e1db0 Improving cervix:
* adding tempEvalEnd value to cervix tests
* more comments in code for cervix sympto
* better description in cervix temp tests
* take out cervix.value
2018-09-13 09:54:13 +02:00
emelko 3f5c86086d Renaming test cycles for cervix+temp to be more explicit abt what they do 2018-09-10 12:28:54 +02:00
emelko 2f42840faa Revert "Renaming test cycles to be more explicit abt what they do"
This reverts commit 969da1d163.
2018-09-10 12:09:37 +02:00
emelko 1b0d04dfc0 Fixing cervix unit tests 2018-09-08 14:47:31 +02:00
emelko ab2dd76bf4 Liberating a forgotten .only from tests 2018-09-08 13:27:38 +02:00
emelko 969da1d163 Renaming test cycles to be more explicit abt what they do 2018-09-08 13:22:17 +02:00
emelko 5cb4c01cec First 9 tests for cervix temp combination 2018-09-07 19:49:52 +02:00
emelko 0b856e298a Symptom values must have exclude: false for tests; consistency for defining functions 2018-09-07 19:49:03 +02:00
emelko d16feb6d58 Renaming cervixPeak in cervixPeakBeforeShift bc it mustn't be the highest cervix value 2018-09-05 16:03:27 +02:00
emelko 1c2c45f8c6 Changes cervix value to check for opening and firmness value 2018-09-05 15:27:04 +02:00
emelko 21d6e24f23 Add more details to cervix-temp fixtures and to mucus-temp spec 2018-09-03 11:23:50 +02:00
emelko 9e1393766a Split fixtures into temp & mucus and temp & cervix files
Add first blueprint for temp&cervix tests
2018-09-03 11:16:14 +02:00
emelko 60d6e21c57 Detects cervix shift in one happy path; including test 2018-09-03 11:11:33 +02:00
emelko 3ff7dd7340 Merge branch 'master' 2018-09-03 10:55:27 +02:00
tina 8a9e23055d Update cycle.spec.js 2018-08-29 16:50:28 +00:00
tina b411b67473 Merge branch 'master' into '98-function-to-get-predicted-bleeding-dates'
# Conflicts:
#   components/calendar.js
#   test/cycle.spec.js
2018-08-29 15:58:20 +00:00
tina e047440068 changs output of getpredictedmenses, adds days to calendar 2018-08-23 17:28:53 +02:00
tina 497a3a3ff5 adds more tests for period predictions, moves getcycleslength into cycle module 2018-08-23 11:36:57 +02:00
tina ea21fc92a2 moves getCycleLength to corresponding files, adds function to get next menses (not finished) with first tests 2018-08-22 18:21:57 +02:00
tina 48484843df adds more tests for getcyclelengthstats with more realistic data 2018-08-22 15:08:08 +02:00
tina d751aaf891 adds tests for getallmensesstarts 2018-08-22 14:37:51 +02:00
tina f2b8723fb9 resolves some of the suggested improvements, renames the term period with cycle 2018-08-09 18:31:14 +02:00
Julia Friesel a2c428e991 Shorten line lengths in cycle 2018-08-06 13:10:59 +02:00
Julia Friesel 125fe03678 Fix test file name spelling 2018-08-02 15:52:32 +02:00
Julia Friesel 8bbf122d12 Ignore 0 -> 1 mucus shift 2018-08-02 11:12:01 +02:00
Julia Friesel 574e7ed854 Ignore highest quality after end of eval 2018-08-01 16:45:41 +02:00
tina 00a7de0faf little improvements and test for array of one element 2018-08-01 15:49:44 +02:00
tina 9664984e72 rounds period stats, adds tests 2018-08-01 15:19:59 +02:00
tina cceecc071d computes the stats about the period lengths, started tests 2018-07-31 15:06:16 +02:00
Julia Friesel 5ce6bc8cfc Handle cycle with mucus on first cycle day 2018-07-24 14:21:10 +02:00
Julia Friesel 67ebacfdd7 Fix whitespace 2018-07-18 16:39:52 +02:00