32 lines
No EOL
550 B
C#
32 lines
No EOL
550 B
C#
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace TestNamespace
|
|
{
|
|
[TestClass]
|
|
public class VSTestTests
|
|
{
|
|
[TestMethod]
|
|
public void VSTestPassTest()
|
|
{
|
|
}
|
|
|
|
[TestMethod]
|
|
public void VSTestFailTest()
|
|
{
|
|
Assert.Fail();
|
|
}
|
|
|
|
#if DESKTOP
|
|
[TestMethod]
|
|
public void VSTestPassTestDesktop()
|
|
{
|
|
}
|
|
#else
|
|
[TestMethod]
|
|
public void VSTestFailTestNetCoreApp()
|
|
{
|
|
Assert.Fail();
|
|
}
|
|
#endif
|
|
}
|
|
} |