2018-04-18 16:22:24 +02:00
|
|
|
// EVMC: Ethereum Client-VM Connector API
|
2018-08-21 09:44:18 +02:00
|
|
|
// Copyright 2018 The EVMC Authors.
|
2018-08-22 13:57:25 +02:00
|
|
|
// Licensed under the Apache License, Version 2.0. See the LICENSE file.
|
2018-04-11 00:37:03 +02:00
|
|
|
|
2018-04-18 16:22:24 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <evmc/evmc.h>
|
|
|
|
|
2018-04-11 00:37:03 +02:00
|
|
|
#include <gtest/gtest.h>
|
|
|
|
|
|
|
|
evmc_instance* get_vm_instance();
|
|
|
|
|
|
|
|
class evmc_vm_test : public ::testing::Test
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
evmc_instance* vm = nullptr;
|
|
|
|
|
|
|
|
void SetUp() override
|
|
|
|
{
|
|
|
|
vm = get_vm_instance();
|
|
|
|
ASSERT_NE(vm, nullptr);
|
|
|
|
}
|
|
|
|
};
|