Skip to content

Commit

Permalink
Merge pull request #16 from mwsis/fixes-1
Browse files Browse the repository at this point in the history
**test.unit.version** : + added missing **vec** check
  • Loading branch information
synesissoftware authored Feb 14, 2025
2 parents 452ca6b + 427df2a commit db1adc9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/unit/test.unit.version/entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Purpose: Unit-test for version(s).
*
* Created: 7th February 2025
* Updated: 9th February 2025
* Updated: 14th February 2025
*
* ////////////////////////////////////////////////////////////////////// */

Expand All @@ -16,6 +16,7 @@
#include <collect-c/common/version.h>
#include <collect-c/circq.h>
#include <collect-c/dlist.h>
#include <collect-c/vec.h>

#include <xtests/terse-api.h>

Expand All @@ -29,6 +30,7 @@
static void TEST_LIBRARY_version(void);
static void TEST_CIRCQ_version(void);
static void TEST_DLIST_version(void);
static void TEST_VEC_version(void);


/* /////////////////////////////////////////////////////////////////////////
Expand All @@ -47,6 +49,7 @@ int main(int argc, char* argv[])
XTESTS_RUN_CASE(TEST_LIBRARY_version);
XTESTS_RUN_CASE(TEST_CIRCQ_version);
XTESTS_RUN_CASE(TEST_DLIST_version);
XTESTS_RUN_CASE(TEST_VEC_version);

XTESTS_PRINT_RESULTS();

Expand Down Expand Up @@ -83,6 +86,13 @@ static void TEST_DLIST_version(void)
}
}

static void TEST_VEC_version(void)
{
{
TEST_INT_EQ(COLLECT_C_VEC_VER, collect_c_vec_version());
}
}


/* ///////////////////////////// end of file //////////////////////////// */

0 comments on commit db1adc9

Please sign in to comment.