1
0
Fork 0
mirror of https://github.com/vale981/ray synced 2025-03-14 15:16:38 -04:00
ray/src/common/test/common_tests.c

25 lines
424 B
C
Raw Normal View History

#include "greatest.h"
#include "common.h"
SUITE(common_tests);
TEST sha1_test(void) {
static char hex[ID_STRING_SIZE];
unique_id uid = globally_unique_id();
object_id_to_string((object_id) uid, &hex[0], ID_STRING_SIZE);
PASS();
}
SUITE(common_tests) {
RUN_TEST(sha1_test);
}
GREATEST_MAIN_DEFS();
int main(int argc, char **argv) {
GREATEST_MAIN_BEGIN();
RUN_SUITE(common_tests);
GREATEST_MAIN_END();
}