UnitTest1.cs 437 B

1234567891011121314151617181920
  1. using System;
  2. using Microsoft.VisualStudio.TestTools.UnitTesting;
  3. using Тестирование_настолки;
  4. namespace TestRegAuth
  5. {
  6. [TestClass]
  7. public class UnitTest1
  8. {
  9. [TestMethod]
  10. public void TestMethod1()
  11. {
  12. var page = new AuthorizationWindow();
  13. Assert.IsTrue(page.Auth("qwe", "qwe"));
  14. Assert.IsFalse(page.Auth("Noone", "ghbdtn"));
  15. }
  16. }
  17. }