Defines | Functions
check.h File Reference

Unit test utilties. More...

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for check.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define check(condition,...)   check_impl(condition, __FILE__, __LINE__, "" __VA_ARGS__)
#define check_signoff()   fprintf(stdout, "%s passed\n", __FILE__)

Functions

static void check_impl (int condition, const char *file, int line, const char *format,...)

Detailed Description

Unit test utilties.

Author:
Andrea Vedaldi

Definition in file check.h.


Define Documentation

#define check (   condition,
  ... 
)    check_impl(condition, __FILE__, __LINE__, "" __VA_ARGS__)

Definition at line 30 of file check.h.

#define check_signoff ( )    fprintf(stdout, "%s passed\n", __FILE__)

Definition at line 33 of file check.h.


Function Documentation

static void check_impl ( int  condition,
const char *  file,
int  line,
const char *  format,
  ... 
) [static]

Definition at line 14 of file check.h.



libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:51