Building a directory structure
parent
6c3bf97d6d
commit
d5510b905a
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// rsa.c
|
||||
// c-libp2p
|
||||
//
|
||||
// Created by John Jones on 11/3/16.
|
||||
// Copyright © 2016 JMJAtlanta. All rights reserved.
|
||||
//
|
||||
|
||||
#include <stdio.h>
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
int testit(const char* name, int (*func)(void)) {
|
||||
printf("Testing %s...\n", name);
|
||||
int retVal = func();
|
||||
if (retVal)
|
||||
printf("%s success!\n", name);
|
||||
else
|
||||
printf("** Uh oh! %s failed.**\n", name);
|
||||
return retVal;
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
testit("test_repo_config_init", test_repo_config_init);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue