From f52c853f8e43eebc5d4c31b52a3d12be706c0e68 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Wed, 28 Sep 2022 12:43:34 +0200 Subject: [PATCH] Add network equality test --- test/cnn_neuron_io.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/cnn_neuron_io.c b/test/cnn_neuron_io.c index 6a4e914..fe8f3ad 100644 --- a/test/cnn_neuron_io.c +++ b/test/cnn_neuron_io.c @@ -6,6 +6,7 @@ #include "../src/colors.h" #include "../src/cnn/neuron_io.c" #include "../src/cnn/creation.c" +#include "../src/cnn/utils.c" @@ -22,14 +23,12 @@ int main() { Network* network2 = read_network(".test-cache/cnn_neuron_io.bin"); printf("OK\n"); - /* printf("Vérification de l'égalité des réseaux\n"); if (! equals_networks(network, network2)) { printf_error("Les deux réseaux obtenus ne sont pas égaux.\n"); exit(1); } printf("OK\n"); - */ return 0; } \ No newline at end of file