test.h 343 B

12345678910111213141516
  1. /*
  2. * Copyright 2010-2017 Branimir Karadzic. All rights reserved.
  3. * License: https://github.com/bkaradzic/bx#license-bsd-2-clause
  4. */
  5. #ifndef __TEST_H__
  6. #define __TEST_H__
  7. #include <bx/bx.h>
  8. #include <catch/catch.hpp>
  9. #define TEST(_x) TEST_CASE(#_x, "")
  10. #define CHECK_EQUAL(_x, _y) REQUIRE(_x == _y)
  11. #include "dbg.h"
  12. #endif // __TEST_H__