Lines Matching refs:Assert
26 Assert.AreEqual(0, counter); in ShouldTickWithOneHandler()
28 Assert.AreEqual(1, counter); in ShouldTickWithOneHandler()
30 Assert.AreEqual(1, counter); in ShouldTickWithOneHandler()
32 Assert.AreEqual(2, counter); in ShouldTickWithOneHandler()
45 Assert.AreEqual(1, counterA); in ShouldTickWithTwoHandlers()
46 Assert.AreEqual(0, counterB); in ShouldTickWithTwoHandlers()
48 Assert.AreEqual(2, counterA); in ShouldTickWithTwoHandlers()
49 Assert.AreEqual(0, counterB); in ShouldTickWithTwoHandlers()
51 Assert.AreEqual(2, counterA); in ShouldTickWithTwoHandlers()
52 Assert.AreEqual(1, counterB); in ShouldTickWithTwoHandlers()
94 Assert.AreEqual(entryA.Value, 500); in ShouldObserveShorterPeriodClockAfterAdd()
95 Assert.AreEqual(entryA.Period, 1000); in ShouldObserveShorterPeriodClockAfterAdd()
96 Assert.AreEqual(entryB.Value, 0); in ShouldObserveShorterPeriodClockAfterAdd()
97 Assert.AreEqual(entryB.Period, 100); in ShouldObserveShorterPeriodClockAfterAdd()
102 Assert.AreEqual(counterA, 0); in ShouldObserveShorterPeriodClockAfterAdd()
103 Assert.AreEqual(counterB, 0); in ShouldObserveShorterPeriodClockAfterAdd()
104 Assert.AreEqual(entryA.Value, 550); in ShouldObserveShorterPeriodClockAfterAdd()
105 Assert.AreEqual(entryA.Period, 1000); in ShouldObserveShorterPeriodClockAfterAdd()
106 Assert.AreEqual(entryB.Value, 50); in ShouldObserveShorterPeriodClockAfterAdd()
107 Assert.AreEqual(entryB.Period, 100); in ShouldObserveShorterPeriodClockAfterAdd()
112 Assert.AreEqual(counterA, 0); in ShouldObserveShorterPeriodClockAfterAdd()
113 Assert.AreEqual(counterB, 1); in ShouldObserveShorterPeriodClockAfterAdd()
114 Assert.AreEqual(entryA.Value, 600); in ShouldObserveShorterPeriodClockAfterAdd()
115 Assert.AreEqual(entryA.Period, 1000); in ShouldObserveShorterPeriodClockAfterAdd()
116 Assert.AreEqual(entryB.Value, 0); in ShouldObserveShorterPeriodClockAfterAdd()
117 Assert.AreEqual(entryB.Period, 100); in ShouldObserveShorterPeriodClockAfterAdd()
130 Assert.AreEqual(TimeInterval.FromMicroseconds(1), higher - lower); in ShouldReturnCorrectResultFromSubstraction()
139 Assert.Throws<OverflowException>(() => {var dummy = lower - higher; }); in ShouldNotAllowOverflowOnSubstraction()
147 Assert.Throws<OverflowException>(() => {var dummy = TimeInterval.Maximal + value; }); in ShouldNotAllowOverflowOnAddition()