Add project files.
This commit is contained in:
27
UnitTestApp1/UnitTests.cs
Normal file
27
UnitTestApp1/UnitTests.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting.AppContainer;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace UnitTestApp1
|
||||
{
|
||||
[TestClass]
|
||||
public partial class UnitTest1
|
||||
{
|
||||
[TestMethod]
|
||||
public void TestMethod1()
|
||||
{
|
||||
Assert.AreEqual(0, 0);
|
||||
}
|
||||
|
||||
// Use the UITestMethod attribute for tests that need to run on the UI thread.
|
||||
[UITestMethod]
|
||||
public void TestMethod2()
|
||||
{
|
||||
var grid = new Grid();
|
||||
Assert.AreEqual(0, grid.MinWidth);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user