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

21 строка
496 B
C#

// NUnit 3 tests
// See documentation : https://github.com/nunit/docs/wiki/NUnit-Documentation
using System.Collections;
using System.Collections.Generic;
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");
}
}
}