feat: init
This commit is contained in:
24
GodotHelper.Tests/test/src/PackageTest.cs
Normal file
24
GodotHelper.Tests/test/src/PackageTest.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace GodotHelper.Tests;
|
||||
|
||||
using Chickensoft.GoDotTest;
|
||||
using Godot;
|
||||
using Shouldly;
|
||||
|
||||
public class PackageTest : TestClass
|
||||
{
|
||||
public PackageTest(Node testScene) : base(testScene) { }
|
||||
|
||||
[Test]
|
||||
public void Initializes()
|
||||
{
|
||||
var package = new Package();
|
||||
package.ShouldBeAssignableTo<Package>();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void MethodReturnsString()
|
||||
{
|
||||
var package = new Package();
|
||||
package.Method().ShouldBe("Hello, world!");
|
||||
}
|
||||
}
|
||||
1
GodotHelper.Tests/test/src/PackageTest.cs.uid
Normal file
1
GodotHelper.Tests/test/src/PackageTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c5puoyi2jgtlm
|
||||
Reference in New Issue
Block a user