Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Meter tests #49

Merged
merged 13 commits into from
Aug 11, 2016
Merged

Meter tests #49

merged 13 commits into from
Aug 11, 2016

Conversation

gforge
Copy link
Contributor

@gforge gforge commented Aug 11, 2016

Here are tests that should cover the basics for all of the current meters. The tests should not be considered as extensive but a foundation for future development, e.g. I haven't added tests for all possible meter options. The issue in #42 has also a crude solution but the AUC does at least have the expected range.


function test.AUCMeter()
local mtr = tnt.AUCMeter()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix random seed here.

@lvdmaaten
Copy link
Contributor

This looks great, thanks so much!

@lvdmaaten lvdmaaten merged commit 5c57c48 into facebookarchive:master Aug 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants