UnitTest1.cs 460 B

123456789101112131415161718192021
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using System;
  3. using Trif_Petun;
  4. namespace Test
  5. {
  6. [TestClass]
  7. public class UnitTest1
  8. {
  9. [TestMethod]
  10. public void rpoverka_zapolnenie()
  11. {
  12. string log = "";
  13. string pass = "";
  14. bool ex = false;
  15. Avtomat tm = new Avtomat();
  16. bool act = tm.isFormVaid(log, pass);
  17. Assert.AreEqual(ex, act);
  18. }
  19. }
  20. }