Browse Source

array: Rewrite unit test

Rewrite unit test from old MSTest to new MSTest module (new version can display details on error).
Issue #28
tags/v0.0.2
Kamil Biały 3 years ago
parent
commit
0bb56438d5
3 changed files with 236 additions and 224 deletions
  1. +234
    -224
      tst/array_test.c
  2. +1
    -0
      tst/run/array.bat
  3. +1
    -0
      tst/run/array.sh

+ 234
- 224
tst/array_test.c
File diff suppressed because it is too large
View File


+ 1
- 0
tst/run/array.bat View File

@@ -57,6 +57,7 @@ cd "%dir1%"
cl /Zi /Od /W4^
/I../../inc^
"%dir2%/array_test.c"^
"%dir2%/../src/test.c"^
"%dir2%/../src/array.c"^
/Fe"array.exe"^
/link^

+ 1
- 0
tst/run/array.sh View File

@@ -34,6 +34,7 @@ cd $DIR1
if gcc -g -O0 -Wall \
-I../../inc \
$DIR2/array_test.c \
$DIR2/../src/test.c \
$DIR2/../src/array.c \
-D MSD_CCMACRO \
-lm \

Loading…
Cancel
Save