12345678910111213141516171819202122 |
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using System;
- using numbersystem;
- namespace UnitTestProject
- {
- [TestClass]
- public class NStest
- {
- [TestMethod]
- public void TestMethod1()
- {
- MainWindow page = new MainWindow();
- string Exp, Res;
- Exp = "10010110";
- Res = page.TestNS(2, "1010 * 1111");
- Assert.AreEqual(Exp, Res);
- }
- }
- }
|