2018-04-18 14:22:24 +00:00
|
|
|
// EVMC: Ethereum Client-VM Connector API
|
2019-04-24 14:12:13 +00:00
|
|
|
// Copyright 2018-2019 The EVMC Authors.
|
|
|
|
// Licensed under the Apache License, Version 2.0.
|
2018-04-10 22:37:03 +00:00
|
|
|
|
2018-04-18 14:22:24 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <evmc/evmc.h>
|
|
|
|
|
2018-04-10 22:37:03 +00: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();
|
2019-05-05 21:33:41 +00:00
|
|
|
ASSERT_TRUE(vm != nullptr);
|
2018-04-10 22:37:03 +00:00
|
|
|
}
|
|
|
|
};
|