[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/arrayfire/arrayfire/feature/optional-graphics/test/compare.cpp [Back]  [Original]

/*******************************************************
 * Copyright (c) 2014, ArrayFire
 * All rights reserved.
 *
 * This file is distributed under 3-clause BSD license.
 * The complete license agreement can be obtained at:
 * http://arrayfire.com/licenses/BSD-3-Clause
 ********************************************************/

#include 
#include 
#include 
#include 
#include 
#include 
#include 

using af::array;
using af::dtype_traits;
using af::randu;
using std::vector;

template
class Compare : public ::testing::Test {};

typedef ::testing::Types
    TestTypes;
TYPED_TEST_SUITE(Compare, TestTypes);

#define COMPARE(OP, Name)                                   \
    TYPED_TEST(Compare, Test_##Name) {                      \
        typedef TypeParam T;                                \
        SUPPORTED_TYPE_CHECK(T);                            \
        const int num = 1 

Web Proxy Viewer  |  New URL  |  Original Page