From 0faffa3829eeb8c48ee05246ecccfb2dc72a4df7 Mon Sep 17 00:00:00 2001 From: seajee Date: Tue, 18 Nov 2025 21:35:14 +0100 Subject: [PATCH] main.c -> test.c --- Makefile | 4 ++-- main.c => test.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename main.c => test.c (98%) diff --git a/Makefile b/Makefile index 1cc8e11..504c916 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -test: main.c hm.h - cc -Wall -Wextra -ggdb -o test main.c +test: test.c hm.h + cc -Wall -Wextra -ggdb -o test test.c clean: rm -rf test diff --git a/main.c b/test.c similarity index 98% rename from main.c rename to test.c index 7f87a18..3dab858 100644 --- a/main.c +++ b/test.c @@ -40,7 +40,7 @@ int main(void) } } - print(&freq); + print_hm(&freq); printf("count = %zu\n", freq.count); HashMapIterator it = hm_iterate(&freq);