Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Test effective damage per second #39476

Closed
wants to merge 5 commits into from

Conversation

wapcaplet
Copy link
Contributor

Summary

SUMMARY: none

Purpose of change

To verify the accuracy of the item::effective_dps calculation from #39362

Describe the solution

Adds test cases to tests/effective_dps_test.cpp

Describe alternatives you've considered

Still in progress

Testing

tests/cata_test [dps]

Additional context

WIP

Also, only do `empty_skills` inside the loop, not all of
`clear_character` (which also removes their weapon).
Results are closer to expectations now, though not quite there yet.

ex. trench knife vs. debug monster: Actual 13.0157, Expected 20.160
@wapcaplet
Copy link
Contributor Author

Closing (superseded by #39564)

@wapcaplet wapcaplet closed this Apr 18, 2020
@wapcaplet wapcaplet deleted the test-effective-dps branch April 24, 2020 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant