File: test.h

package info (click to toggle)
btas 1.0.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,132 kB
  • sloc: cpp: 26,486; ansic: 1,545; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __BTAS_UNITTEST_TEST_H
#define __BTAS_UNITTEST_TEST_H

#include "catch.hpp"

// BTAS_ASSERT failures can only be checked if BTAS_ASSERT_THROWS is defined
#if not defined(BTAS_ASSERT_THROWS)
#  error "unit tests require BTAS_ASSERT_THROWS to be defined, define BTAS_ASSERT_THROWS cmake option (e.g. by adding -DBTAS_ASSERT_THROWS=ON to cmake command arguments)"
#endif

#endif