libcp/test/test.cpp
2025-05-12 21:37:13 +03:00

13 lines
307 B
C++

#include <collections/vec.hpp>
#include <stddef.h>
#include <stdio.h>
int main(int argc, char* argv[]) {
Vec<size_t>* v = new Vec<size_t>();
v->push(69);
v->push(420);
size_t ft = v->pop().unwrap();
size_t sn = v->pop().unwrap();
printf("ft: %zu sn: %zu\n", ft, sn);
return 0;
}