-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathPriorityExecutionQueueTests.cs
58 lines (48 loc) · 1.36 KB
/
PriorityExecutionQueueTests.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using QiqqaTestHelpers;
using Utilities.Collections;
// https://www.automatetheplanet.com/mstest-cheat-sheet/
// NOTE: See also `LIFO_and_FIFO_performance_testing` performance test
namespace QiqqaUnitTester.Fundamentals
{
/// <summary>
///
/// </summary>
[TestClass]
public class PriorityExecutionQueueTests
{
[ClassInitialize]
public static void TestFixtureSetup(TestContext context)
{
// Executes once for the test class. (Optional)
}
[TestInitialize]
public void Setup()
{
// Runs before each test. (Optional)
}
[ClassCleanup]
public static void TestFixtureTearDown()
{
// Runs once after all tests in this class are executed. (Optional)
// Not guaranteed that it executes instantly after all tests from the class.
}
[TestCleanup]
public void TearDown()
{
// Runs after each test. (Optional)
}
// Mark that this is a unit test method. (Required)
[TestMethod]
public void SimpleLIFOBehaviour()
{
ASSERT.AreEqual<int>(-1, -7);
}
[TestMethod]
public void TestMethod1()
{
ASSERT.IsTrue(true);
}
}
}