public void ConstructorArgumentExceptionTest() { try { _span = new NuGenCountDownSpan(-10, 5); Assert.Fail(); } catch (ArgumentException) { } try { _span = new NuGenCountDownSpan(10, -5); Assert.Fail(); } catch (ArgumentException) { } try { _span = new NuGenCountDownSpan(10, 61); Assert.Fail(); } catch (ArgumentException) { } }
public void ConstructorArgumentExceptionTest() { try { _span = new NuGenCountDownSpan(-10, 5); Assert.Fail(); } catch (ArgumentException) { } try { _span = new NuGenCountDownSpan(10, -5); Assert.Fail(); } catch (ArgumentException) { } try { _span = new NuGenCountDownSpan(10, 61); Assert.Fail(); } catch (ArgumentException) { } }
public void SetUp() { _span = new NuGenCountDownSpan(1, 3); _timer = new StubTimer(); _timer.Interval = 1; _countDownBlock = new NuGenCountDownBlock(_span, _timer); _eventSink = new EventSink(_countDownBlock); }
public void SetUp() { _span = new NuGenCountDownSpan(1, 3); _timer = new StubTimer(); _timer.Interval = 1; _countDownBlock = new NuGenCountDownBlock(_span, _timer); _eventSink = new EventSink(_countDownBlock); }
public void SetUp() { _span = new NuGenCountDownSpan(10, 5); }
public void SetUp() { _span = new NuGenCountDownSpan(10, 5); }