nunit-vs-templates/nunit.tests.core.csharp/TestClass.cs

19 строки
436 B
C#

// NUnit 3 tests
// See documentation : https://github.com/nunit/docs/wiki/NUnit-Documentation
using NUnit.Framework;
namespace $safeprojectname$
{
[TestFixture]
public class $safeitemname$
{
[Test]
public void TestMethod()
{
// TODO: Add your test code here
var answer = 42;
Assert.That(answer, Is.EqualTo(42), "Some useful error message");
}
}
}