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

scheduleCheck - update tests #3

Open
stocktons opened this issue Oct 19, 2022 · 0 comments
Open

scheduleCheck - update tests #3

stocktons opened this issue Oct 19, 2022 · 0 comments

Comments

@stocktons
Copy link
Contributor

add a test in practice problems part 2 to check for

let schedule1 = {
  Tuesday: true,
  Wednesday: false,
};
let schedule2 = {
  Tuesday: true,
  Wednesday: false,
};

not returning 2 - it should be 0 since we only want keys that are true to be counted (our solution is correct, but the tests won’t catch this case for students right now)

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