using Microsoft.VisualStudio.TestTools.UnitTesting; using exzem1; namespace TestProject1 { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { int a = 123; int b = 154; int except = 277; Program q = new Program(); int act = q.resh(a, b); Assert.AreEqual(except, act); } } }