|
From: | Kevin Martin |
Subject: | Re: [Varnamproject-discuss] Suggestions file validity |
Date: | Sat, 24 May 2014 14:21:36 +0530 |
-----BEGIN PGP SIGNED MESSAGE-----That's incorrect. See how other features are tested
Hash: SHA512
Hello Kevin,
(https://github.com/varnamproject/libvarnam/blob/master/tests/learning.c#L66).
We use a library called "Check" to perform assertions and manage test
suits. So you need to write tests that way.
cmake -DBUILD_TESTS=true - Will compile test files
make && sudo make install
cd tests
./runtests
On 5/23/14 7:06 PM, Kevin Martin wrote:
> I have added a test case for is_file_exists at testcases.c. I'm not sure if
> this is what you had in mind.
>
- --iQEcBAEBCgAGBQJTgBk2AAoJEHFACYSL7h6kKJkH/16xsDnfyv1X5T4qv5gzoYRY
Cheers,
Navaneeth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
jLeZ8WS1RyyfngazGZNzOSYlbfMhYuaMwJw+e/o9phtCeaF36K1yYXlnCN2fDigP
P/rWFlt2p2VaeTXLten6sCN8Jgdm3fFfUnwl4z1d7PYRUb38foIKACS/jZQLbxkZ
j7XHhx+N3Ef0tklAKgWxLbonCASCoc9Rm36sgnrYehRxKiuXYWFu/K+7DUr2xJJu
t5E5e/OKLlW3zGiRIf3nwk7agP2X08ULLXxx4IsYsGJR2/J5/lGv3SxINnmF7Bfq
fgH6aUdUv0gkD1s3hKm0p0IJ4nsLHXPXrHsSaH4z6fS1wyRV/PYVXCWvp+lyhJo=
=Nohp
-----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |