evmc/test/vmtester/vmtester.hpp

24 lines
447 B
C++
Raw Normal View History

2018-04-18 14:22:24 +00:00
// EVMC: Ethereum Client-VM Connector API
2018-08-21 07:44:18 +00:00
// Copyright 2018 The EVMC Authors.
// Licensed under the Apache License, Version 2.0. See the LICENSE file.
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();
ASSERT_NE(vm, nullptr);
}
};