Dallinger / Griduniverse

Welcome to the Griduniverse.
7 stars 3 forks source link

Add test for bonus method #213

Closed alecpm closed 6 years ago

alecpm commented 6 years ago

This tests the functionality of the bonus payment method, and ensures that bonus computation doesn't fail when calculated early in experiment (see Dallinger/Dallinger#1399 and Dallinger/Dallinger#1432).

alecpm commented 6 years ago

The test_bonus is expected to fail until Dallinger/Dallinger#1432 is merged to master

alecpm commented 6 years ago

This branch includes the test work from #211

codecov-io commented 6 years ago

Codecov Report

Merging #213 into master will increase coverage by 0.5%. The diff coverage is 80%.

@@           Coverage Diff            @@
##           master    #213     +/-   ##
========================================
+ Coverage    59.7%   60.2%   +0.5%     
========================================
  Files           7       7             
  Lines        1537    1538      +1     
  Branches      321     322      +1     
========================================
+ Hits          917     925      +8     
+ Misses        529     520      -9     
- Partials       91      93      +2