Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

[ad-hoc] [3](5) Add test for volumeFilter to ensure we correctly handle offers that will put us over #483

Closed
nikhilsaraf opened this issue Aug 21, 2020 · 1 comment · Fixed by #585
Assignees
Labels
bug Something isn't working
Milestone

Comments

@nikhilsaraf
Copy link
Contributor

nikhilsaraf commented Aug 21, 2020

use tests in dailyVolumeByDate_test.go and TestMakeVolumeFilterConfig as inspiration.

@nikhilsaraf nikhilsaraf added the bug Something isn't working label Aug 21, 2020
@nikhilsaraf nikhilsaraf added this to the v1.10.0 milestone Aug 21, 2020
@nikhilsaraf nikhilsaraf self-assigned this Aug 21, 2020
@nikhilsaraf nikhilsaraf changed the title [1] Add test for volumeFilter to ensure we correctly handle offers that will put us over [3] Add test for volumeFilter to ensure we correctly handle offers that will put us over Sep 14, 2020
@debnil debnil self-assigned this Oct 13, 2020
@nikhilsaraf nikhilsaraf modified the milestones: v1.10.0, KaaS v1.0 Oct 13, 2020
@nikhilsaraf nikhilsaraf removed their assignment Oct 13, 2020
@nikhilsaraf
Copy link
Contributor Author

@debnil moved this to Next Sprint in planning so we can prioritize v1.10.0 release this sprint

@nikhilsaraf nikhilsaraf modified the milestones: KaaS v1.0, v1.10.1 Oct 20, 2020
@nikhilsaraf nikhilsaraf changed the title [3] Add test for volumeFilter to ensure we correctly handle offers that will put us over [ad-hoc] [3] Add test for volumeFilter to ensure we correctly handle offers that will put us over Oct 26, 2020
@debnil debnil changed the title [ad-hoc] [3] Add test for volumeFilter to ensure we correctly handle offers that will put us over [ad-hoc] [3](5) Add test for volumeFilter to ensure we correctly handle offers that will put us over Oct 26, 2020
nikhilsaraf pushed a commit that referenced this issue Nov 12, 2020
* Initial commit - test constructor.

* Add tests to filter fn.

* Rename createFloat to createFloatPtr.

* Fix capitalization error.

* Rewrite most of the tests - still need to eliminate a couple of structs.

* Change test interface.

* Address review 2 - nikhilsaraf

* Modify volumeFilterFn parameters, change market ID query slice logic

* Remove log

* Factor out action.

* Move query market IDs creation, add comments

* Pair programming commit.

* Delete volume filter fn test.

* Remove unused helper, add default configValue
nikhilsaraf pushed a commit that referenced this issue Nov 18, 2020
* Initial commit

* Add readability fixes

* Remove dupe tests, change assert
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants