setting up GDUnit
Some checks failed
Create tag and build when new code gets to main / Export (push) Failing after 3m40s
Some checks failed
Create tag and build when new code gets to main / Export (push) Failing after 3m40s
This commit is contained in:
28
tests/ExampleTest.cs
Normal file
28
tests/ExampleTest.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace Movementtests.tests;
|
||||
|
||||
using GdUnit4;
|
||||
using static GdUnit4.Assertions;
|
||||
|
||||
[TestSuite]
|
||||
public class ExampleTest
|
||||
{
|
||||
[Before]
|
||||
public void Setup() {
|
||||
// Setup suite-level shared resources, expensive setup
|
||||
}
|
||||
|
||||
[After]
|
||||
public void Cleanup() {
|
||||
// Cleanup suite-level shared resources, expensive setup
|
||||
}
|
||||
|
||||
[TestCase]
|
||||
public void StringToLower() {
|
||||
AssertString("AbcD".ToLower()).IsEqual("abcd");
|
||||
}
|
||||
|
||||
[TestCase]
|
||||
public void StringToUpper() {
|
||||
AssertString("AbcD".ToUpper()).IsEqual("ABCD");
|
||||
}
|
||||
}
|
||||
1
tests/ExampleTest.cs.uid
Normal file
1
tests/ExampleTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cs8i2bp4wr00u
|
||||
Reference in New Issue
Block a user