#include <cuda_runtime.h>
#include <gtest/gtest.h>
#include <iostream>

// include list of test files
// Ensure the device_error_test.cu is last to prevent aborting mid-test run
#include "field_test.cu"
#ifdef CURVE_ID
#include "curve_test.cu"
#endif
#include "error_handler_test.cu"
#include "device_error_test.cu"

int main(int argc, char** argv)
{
  ::testing::InitGoogleTest(&argc, argv);
  printf("running gtests...\n");
  return RUN_ALL_TESTS();
}