BRL-CAD
bntester.c File Reference
#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <math.h>
#include <string.h>
#include <errno.h>
#include "bu/getopt.h"
#include "bu/log.h"
#include "bu/parallel.h"
#include "bu/str.h"
#include "bu/vls.h"
#include "vmath.h"
#include "bn.h"
Include dependency graph for bntester.c:

Go to the source code of this file.

Macros

#define USAGE   "Usage: bntester [-l test_case_line_number] [-f function_number] -i input_file [-o output_file]\n"
 

Functions

int parse_case (char *buf_p, int *i, long *l, fastf_t *d, unsigned long *u, char *fmt_str, unsigned long line_num, FILE *stream)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define USAGE   "Usage: bntester [-l test_case_line_number] [-f function_number] -i input_file [-o output_file]\n"

Definition at line 38 of file bntester.c.

Referenced by main().

Function Documentation

int parse_case ( char *  buf_p,
int *  i,
long *  l,
fastf_t d,
unsigned long *  u,
char *  fmt_str,
unsigned long  line_num,
FILE *  stream 
)

Definition at line 42 of file bntester.c.

References strchr(), and strtok().

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
char **  argv 
)