Moved tests + Added more tests + Added memory testing to actions
Run tests / Run tests (push) Failing after 6s
Run tests / Run tests (push) Failing after 6s
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#define EV_VEC_IMPLEMENTATION
|
||||
#include "ev_vec.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
ev_vec(i32) v = ev_vec_init(i32);
|
||||
assert(v != NULL);
|
||||
|
||||
assert(ev_vec_setcapacity(&v, 0) == EV_VEC_ERR_NONE);
|
||||
assert(ev_vec_capacity(&v) == 0);
|
||||
assert(ev_vec_grow(&v) == EV_VEC_ERR_NONE);
|
||||
assert(ev_vec_capacity(&v) > 0);
|
||||
|
||||
ev_vec_fini(&v);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user