using System;
using System.Reflection;
using HarmonyLib;
namespace GamecraftModdingAPI.Tests
{
#if TEST
///
/// Test test test.
///
[APITestClass]
public static class TestTest
{
public static event EventHandler StartUp;
public static event EventHandler Test;
public static event EventHandler TearDown;
[APITestStartUp]
public static void Init()
{
StartUp += Assert.CallsBack("TestStartUp");
Test += Assert.CallsBack("TestCase");
TearDown += Assert.CallsBack("TestTearDown");
StartUp(null, default(TestEventArgs));
}
[APITestCase(TestType.Menu)]
public static void RunTest()
{
Test(null, default(TestEventArgs));
}
[APITestTearDown]
public static void End()
{
TearDown(null, default(TestEventArgs));
}
}
public struct TestEventArgs
{
public override string ToString()
{
return "TestEventArgs{}";
}
}
#endif
}