File size: 439 Bytes
8ae5fc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef METAL_TEST_HPP
#define METAL_TEST_HPP

#include <type_traits>

#include "test/expressions.hpp"
#include "test/lambda.hpp"
#include "test/numbers.hpp"
#include "test/preprocessor.hpp"
#include "test/sequences.hpp"
#include "test/values.hpp"

#define CHECK_IMPL(X, Y) \
    static_assert(std::is_same<ID X, ID Y>::value, #X " == " #Y) \
/**/

#define CHECK(X, Y) EXPAND(CHECK_IMPL SCAN((X, Y)))

int main() {
    return 0;
}

#endif