123456789101112131415161718 |
- using System;
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- namespace UnitTestProject2
- {
- [TestClass]
- public class UnitTest2
- {
- [TestMethod]
- public void TestMethod1()
- {
- int res = 2 + 2;
- Assert.AreEqual(res, 4);
- Assert.AreNotEqual(res, 5);
- Assert.IsFalse(res > 5);
- }
- }
- }
|