using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Тестирование_настолки; namespace TestRegAuth { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { var page = new AuthorizationWindow(); Assert.IsTrue(page.Auth("qwe", "qwe")); Assert.IsFalse(page.Auth("Noone", "ghbdtn")); } } }