Add project files.
This commit is contained in:
1 parent
15580a15f2
commit
c9895f1960
76 files changed
+2770
No files matched your search
@@ -0,0 +1,50 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
|
||||
namespace GZStudio.Tests.MSTest;
|
||||
|
||||
// TODO: Write unit tests.
|
||||
// https://docs.microsoft.com/visualstudio/test/getting-started-with-unit-testing
|
||||
// https://docs.microsoft.com/visualstudio/test/using-microsoft-visualstudio-testtools-unittesting-members-in-unit-tests
|
||||
// https://docs.microsoft.com/visualstudio/test/run-unit-tests-with-test-explorer
|
||||
|
||||
[TestClass]
|
||||
public class TestClass
|
||||
{
|
||||
[ClassInitialize]
|
||||
public static void ClassInitialize(TestContext context)
|
||||
{
|
||||
Debug.WriteLine("ClassInitialize");
|
||||
}
|
||||
|
||||
[ClassCleanup]
|
||||
public static void ClassCleanup()
|
||||
{
|
||||
Debug.WriteLine("ClassCleanup");
|
||||
}
|
||||
|
||||
[TestInitialize]
|
||||
public void TestInitialize()
|
||||
{
|
||||
Debug.WriteLine("TestInitialize");
|
||||
}
|
||||
|
||||
[TestCleanup]
|
||||
public void TestCleanup()
|
||||
{
|
||||
Debug.WriteLine("TestCleanup");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void TestMethod()
|
||||
{
|
||||
Assert.IsTrue(true);
|
||||
}
|
||||
|
||||
[UITestMethod]
|
||||
public void UITestMethod()
|
||||
{
|
||||
Assert.AreEqual(0, new Grid().ActualWidth);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user