19 lines
312 B
C
19 lines
312 B
C
/*write-location-file-test.c*/
|
|
|
|
#include "write-location-file.h"
|
|
|
|
/*use printf*/
|
|
//#include <stdio.h>
|
|
|
|
#include <assert.h>
|
|
#include <stdbool.h>
|
|
|
|
static void test(){
|
|
//printf("write_location_file() return %d:\n",write_location_file());
|
|
assert(write_location_file()==0 && "test()");
|
|
}
|
|
|
|
int main(){
|
|
test();
|
|
}
|