HardTest.cs 731 B

1234567891011121314151617181920212223242526272829
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using System;
  3. using WSUniversalLib;
  4. namespace UnitTest
  5. {
  6. [TestClass]
  7. public class HardTest
  8. {
  9. [TestMethod]
  10. public void GetPriorityForAgent_UsusalBigValue()
  11. {
  12. int actual, expented;
  13. actual = Calculation.GetPriorityForAgent(3, 100, 200);
  14. expented = -1;
  15. Assert.AreEqual(expented, actual);
  16. }
  17. [TestMethod]
  18. public void GetPriorityForAgent_UsusalBigFloatValue()
  19. {
  20. int actual, expented;
  21. actual = Calculation.GetPriorityForAgent(3, 30.12123f, 20.21f);
  22. expented = -1;
  23. Assert.AreEqual(expented, actual);
  24. }
  25. }
  26. }