Removed noise from test output

This commit is contained in:
VegOwOtenks 2025-02-28 23:13:30 +01:00
parent a508e4236e
commit d044cb1567
3 changed files with 11 additions and 9 deletions

View file

@ -19,7 +19,7 @@ int main()
for (size_t i = 0; i < sizeof(particles) / sizeof(particles[0]); i++) { for (size_t i = 0; i < sizeof(particles) / sizeof(particles[0]); i++) {
particles[i].position.x = xoshiro256_next(&rand_state) % 10000; particles[i].position.x = xoshiro256_next(&rand_state) % 10000;
particles[i].position.y = xoshiro256_next(&rand_state) % 10000; particles[i].position.y = xoshiro256_next(&rand_state) % 10000;
printf("%f %f\n", particles[i].position.y, particles[i].position.x); // printf("%f %f\n", particles[i].position.y, particles[i].position.x);
QuadTree_Insert(&tree, &particles[i].position); QuadTree_Insert(&tree, &particles[i].position);
} }
} }

View file

@ -117,9 +117,11 @@ int main(int argc, char const *argv[]) {
char c[option->content.length + 1]; char c[option->content.length + 1];
memset(c, 0, option->content.length + 1); memset(c, 0, option->content.length + 1);
memcpy(c, option->content.source, option->content.length); memcpy(c, option->content.source, option->content.length);
printf("%-20s: %s\n", printf(
"%-20s: %s\n",
OptionType_ToString(option->type), OptionType_ToString(option->type),
c); c
);
} }
if (Argumentc_PopLongOption(&argumentc, StringView_FromString("long")).type != OPTIONTYPE_NONE) { if (Argumentc_PopLongOption(&argumentc, StringView_FromString("long")).type != OPTIONTYPE_NONE) {

View file

@ -146,11 +146,11 @@ void testQuantifier(void)
int main() int main()
{ {
testLifetime(); // testLifetime();
testLiteral(); // testLiteral();
testBackslash(); // testBackslash();
testGroup(); // testGroup();
testOption(); // testOption();
testQuantifier(); // testQuantifier();
return 0; return 0;
} }