-
Notifications
You must be signed in to change notification settings - Fork 1
MYASM2 - Prepare #3
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: MYASM2
Are you sure you want to change the base?
Conversation
|
for unit tests : maybe use Unity ? It has a reputation to just work |
| long long int len = strlen(content); | ||
| if (verbose == true) { | ||
|
|
||
| if (verbose) { |
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.
if (verbose) is not the same as if (verbose)==true since if (<varname>) checks if is nonzero. since we have varbose as a std boolean, this won't work. We could always take teh other approach and change verbose to an int to use ore standard (0 or 1) C logic
Overengined
left a comment
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.
should fix the error with verbose by either changing verbose to an int or using boolean logic
|
Ok good to know, we'll use an int logic to enable verbosity level. It's gonna be useful for debugging. |
|
Yes, it should not be overly complicated. Feel free to open an issue on the matter. I know I will, sooner or later. |
Implemented the Prepare function. Before merging it, please make sure the following check list is done :