Exemplo n.º 1
0
        public void TestStableUnknown()
        {
            var x = new WatchdogStatusAggregator();

            Assert.AreEqual("x", x.MoreCriticalStatus(x.MoreCriticalStatus("x", "y"), "z"));
        }
Exemplo n.º 2
0
        public void TestWorseStatus(string s1, string s2, string r)
        {
            var x = new WatchdogStatusAggregator();

            Assert.AreEqual(r, x.MoreCriticalStatus(s1, s2));
        }