-
-
Notifications
You must be signed in to change notification settings - Fork 9
Add baffling-birthdays #160
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
base: main
Are you sure you want to change the base?
Conversation
02e8869
to
ac9e7d8
Compare
ac9e7d8
to
c894da3
Compare
|
||
To do this, you need to: | ||
|
||
- Generate random birthdates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creating random birthdays is not part of the exercise here. Do you think it would make sense to add an append to clarify that we don't do this here and maybe also give some reasoning?
FUNC_PROTO = """\ | ||
#include "vendor/unity.h" | ||
|
||
#include <stddef.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not used, is it?
|
||
void test_multiple_birthdates_with_more_than_one_shared_birthday(void) { | ||
TEST_IGNORE(); | ||
const char *birthdates[] = {"1966-07-29", "1977-02-12", "2001-12-25", "1980-07-29", "2019-02-12", NULL}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other tracks make this less about string parsing by using some Date
structure that has year
, month
, and day
fields. I think I would prefer that here as well, but if you prefer using the raw string format, fine as well.
No description provided.