Add unit test for scripting features

This commit is contained in:
Wojtek Figat
2022-12-30 00:08:04 +01:00
parent 0e1da59f0c
commit a5e7ff6fc0
4 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
#if FLAX_TESTS
namespace FlaxEngine
{
/// <summary>
/// Test class.
/// </summary>
public class TestClassManaged : TestClassNative
{
TestClassManaged()
{
SimpleField = 2;
}
/// <inheritdoc />
public override int Test(string str)
{
return str.Length + base.Test(str);
}
}
}
#endif