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:
parent
cdbe50f513
commit
e7b506f6a3
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
21
RecrownedGTK.Tests/Graphics/Render/TextureDataTest.cs
Normal file
21
RecrownedGTK.Tests/Graphics/Render/TextureDataTest.cs
Normal 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user