Beispiel #1
0
        public void ScannerAtZero_BeforeStepping_ReturnsFalse()
        {
            var layer = new FireWallLayer();

            layer.ScanRange = 2;
            Assert.IsTrue(layer.ScannerAtZero(0));
        }
Beispiel #2
0
        public void ScannerAtZero_AfterStepping_ReturnsExpectedResult(int step, bool expected)
        {
            var layer = new FireWallLayer();

            layer.ScanRange = 3;
            Assert.AreEqual(expected, layer.ScannerAtZero(step));
        }