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

Unit test for input storage #17

Open
4 tasks
SethAngell opened this issue Feb 6, 2020 · 0 comments
Open
4 tasks

Unit test for input storage #17

SethAngell opened this issue Feb 6, 2020 · 0 comments

Comments

@SethAngell
Copy link
Contributor

Testing whether ImageTask.StoreUserInput() properly saves data.

Write a function which creates an ImageTask object, containing data that you are tracking. Then, use the ImageTask.ImageTask.StoreUserInput() function to store different types of input. Passing this unit test would entail the following:

  • Storing False on a photo labeled false should set UserCorrect to true
  • Storing True on a photo labeled false should set userCorrect to false
  • The other two permutations of this logic array
  • Ensure that the time stamp stored in the userDecisionPoints array matches the one that we sent
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

No branches or pull requests

1 participant