12345678910111213141516171819202122232425 |
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using System;
- namespace Pruf
- {
- [TestClass]
- public class UnitTest1
- {
- [TestMethod]
- public void TestMethod1_TransportTableIsTable()
- {
- var type = typeof(int[,]);
- var value = Program.;
- Assert.IsInstanceOfType(value, type);
- }
- [TestMethod]
- public void TestMethod2_CheckAllElementsWorkCorrcet()
- {
- int[,] value = Pr.transportTable;
- bool result = Pr.CheckAllElments(value);
- Assert.IsFalse(result);
- }
- }
- }
|