12345678910111213141516171819202122 |
- using ClassLibrary4;
- namespace TestProject1
- {
- [TestClass]
- public class UnitTest1
- {
- [TestMethod]
- public void TestMethod1()
- {
- proverkaChisla class1 = new proverkaChisla();
- int a = proverkaChisla.z1(3);
- Assert.AreEqual(1, a);
- }
- [TestMethod]
- public void TestMethod2()
- {
- proverkaChisla class1 = new proverkaChisla();
- int a = proverkaChisla.z1(3);
- Assert.AreNotEqual(1, a);
- }
- }
- }
|