Skip to content

Conversation

@TNTY100
Copy link

@TNTY100 TNTY100 commented Dec 3, 2025

Implemented the Prepare function. Before merging it, please make sure the following check list is done :

  • Change logging method (use enum/int)
  • Do empirical tests
  • Add basic unit tests (based on empirical tests)

@Overengined
Copy link
Owner

for unit tests : maybe use Unity ? It has a reputation to just work

long long int len = strlen(content);
if (verbose == true) {

if (verbose) {
Copy link
Owner

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

Copy link
Owner

@Overengined Overengined left a 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

@TNTY100
Copy link
Author

TNTY100 commented Dec 4, 2025

Ok good to know, we'll use an int logic to enable verbosity level. It's gonna be useful for debugging.

@Overengined
Copy link
Owner

Yes, it should not be overly complicated. Feel free to open an issue on the matter. I know I will, sooner or later.

@TNTY100 TNTY100 marked this pull request as draft December 10, 2025 01:48
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 this pull request may close these issues.

2 participants