From: Benjamin Auder Date: Sat, 16 Dec 2017 14:37:59 +0000 (+0100) Subject: Fix typo + cosmetics X-Git-Url: https://git.auder.net/game/current/%7B%7B%20asset%28%27mixstore/js/doc/rpsls.js?a=commitdiff_plain;h=0261c3b62a23974d7be2db9335dde5e9ff4ddc23;p=cgds.git Fix typo + cosmetics --- diff --git a/test/helpers.h b/test/helpers.h index 49dec3b..3e8c32b 100644 --- a/test/helpers.h +++ b/test/helpers.h @@ -3,13 +3,13 @@ // types (POD) to be used as items inside our data structures typedef struct { - int a; - double b; + int a; + double b; } StructTest1; typedef struct { - float a; - StructTest1* b; + float a; + StructTest1* b; } StructTest2; #endif diff --git a/test/lut.h b/test/lut.h index 75d21fb..821feb3 100644 --- a/test/lut.h +++ b/test/lut.h @@ -8,7 +8,7 @@ #define lu_assert(expr) \ lu_assert_msg(expr, ""); -/* OP may be any comparion operator. */ +/* OP may be any comparison operator. */ #define _lu_assert_int(X, OP, Y) do { \ int _lu_x = (X); \ @@ -33,4 +33,3 @@ #define lu_assert_dbl_le(X, Y) _lu_assert_dbl(X, <=, Y) #define lu_assert_dbl_gt(X, Y) _lu_assert_dbl(X, >, Y) #define lu_assert_dbl_ge(X, Y) _lu_assert_dbl(X, >=, Y) - diff --git a/test/makeMain.sh b/test/makeMain.sh index 69ac68c..c3d415c 100644 --- a/test/makeMain.sh +++ b/test/makeMain.sh @@ -1,5 +1,4 @@ #/bin/bash -#TODO: dispatch in several files and run in parallel ?! #initialize main.c printf '#include \n' > main.c