1234567891011121314151617181920212223242526272829 |
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using System;
- using WSUniversalLib;
- namespace UnitTest
- {
- [TestClass]
- public class HardTest
- {
- [TestMethod]
- public void GetPriorityForAgent_UsusalBigValue()
- {
- int actual, expented;
- actual = Calculation.GetPriorityForAgent(3, 100, 200);
- expented = -1;
- Assert.AreEqual(expented, actual);
- }
- [TestMethod]
- public void GetPriorityForAgent_UsusalBigFloatValue()
- {
- int actual, expented;
- actual = Calculation.GetPriorityForAgent(3, 30.12123f, 20.21f);
- expented = -1;
- Assert.AreEqual(expented, actual);
- }
- }
- }
|