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

Create unit tests for Fullness #24

Closed
patrickanguyen opened this issue Apr 29, 2022 · 0 comments · Fixed by #42
Closed

Create unit tests for Fullness #24

patrickanguyen opened this issue Apr 29, 2022 · 0 comments · Fixed by #42
Assignees

Comments

@patrickanguyen
Copy link
Contributor

Description

After creating the basic implementation of the Fullness class, you need to create unit tests to prove that your implementation functions, and that we can make sure it can continue to work.

Create tests in test/test_desktop_fullness to test all of the public functions in Fullness. Use MockDistance to simulate distance measurements.

Depends on #10

Requirements

  • Create at least 5 tests that test getFullness()
  • Create at least 5 tests that test isValidFullness()
  • Be sure to test every edge case
@aahsue aahsue linked a pull request May 12, 2022 that will close this issue
9 tasks
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 a pull request may close this issue.

4 participants