evmc/test/vmtester/vmtester.hpp

24 lines
434 B
C++
Raw Normal View History

2018-04-18 14:22:24 +00:00
// EVMC: Ethereum Client-VM Connector API
// 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();
ASSERT_TRUE(vm != nullptr);
2018-04-10 22:37:03 +00:00
}
};