Changed unit testing to non-graphical tests.

Currently, just reset things to a template file. Still learning what's easy to test and not.
This commit is contained in:
Harrison Deng 2020-02-21 02:06:32 -05:00
parent cdbe50f513
commit e7b506f6a3
2 changed files with 21 additions and 20 deletions

View File

@ -1,20 +0,0 @@
using NUnit.Framework;
using RecrownedGTK.Graphics.Render.Shaders;
namespace RecrownedGTK.Tests
{
[TestFixture]
public class ShaderTest
{
Shader currentShader;
public void Setup()
{
}
[Test]
public void Test()
{
Assert.DoesNotThrow(Shader.CreateBasicShader);
}
}
}

View File

@ -0,0 +1,21 @@
namespace RecrownedGTK.Tests
{
[TestFixture]
public class TextureDataTest
{
[SetUp]
public void Setup()
{
}
[TearDown]
public void Cleanup() {
}
[Test]
public void TestDefaultShader()
{
Assert.Pass();
}
}
}