From: Paul Brossier Date: Wed, 19 Dec 2018 15:56:38 +0000 (+0100) Subject: [tests] remove test-delnull X-Git-Tag: 0.4.9~76 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=c9e28072f63e496336c25f978307aebd773d995f [tests] remove test-delnull --- diff --git a/tests/src/test-delnull.c b/tests/src/test-delnull.c deleted file mode 100644 index bb245090..00000000 --- a/tests/src/test-delnull.c +++ /dev/null @@ -1,24 +0,0 @@ -#include -#include "aubio.h" - -// When creating an aubio object, the user should check whether the object is -// set NULL, indicating the creation failed and the object was not allocated. - -int main (void) -{ - uint_t return_code = 0; - fvec_t *f = new_fvec(-12); - cvec_t *c = new_cvec(-12); - lvec_t *l = new_lvec(-12); - aubio_fft_t *fft = new_aubio_fft(-12); - if (f != NULL) { - return_code = 1; - } else if (c != NULL) { - return_code = 2; - } else if (l != NULL) { - return_code = 3; - } else if (fft != NULL) { - return_code = 3; - } - return return_code; -}