Beispiel #1
0
        public void ThreeJobsOneDependencyTest()
        {
            VerifyJobOrder verifyJobOrder = new VerifyJobOrder("a-b|b-|c-", "bca");

            Assert.That(verifyJobOrder.IsValid(), Is.EqualTo(true));
        }
Beispiel #2
0
        public void TwoJobsSwitchedOrderTest()
        {
            VerifyJobOrder verifyJobOrder = new VerifyJobOrder("a-|b-", "ba");

            Assert.That(verifyJobOrder.IsValid(), Is.EqualTo(true));
        }
Beispiel #3
0
        public void JobNotInListTest()
        {
            VerifyJobOrder verifyJobOrder = new VerifyJobOrder("a-|b-", "bac");

            Assert.That(verifyJobOrder.IsValid(), Is.EqualTo(false));
        }
Beispiel #4
0
        public void TwoJobsNoDependenciesTest()
        {
            VerifyJobOrder verifyJobOrder = new VerifyJobOrder("a-|b-", "ab");

            Assert.That(verifyJobOrder.IsValid(), Is.EqualTo(true));
        }