Lines Matching refs:Assert
28 …Assert.Throws<ArgumentException>(() => new ByteArrayWithAccessTracking(new StubPeripheral(), 4, 3,… in ShouldAllowOnlyAccessWithWidthEqual4()
29 …Assert.Throws<ArgumentException>(() => new ByteArrayWithAccessTracking(new StubPeripheral(), 4, 2,… in ShouldAllowOnlyAccessWithWidthEqual4()
30 …Assert.Throws<ArgumentException>(() => new ByteArrayWithAccessTracking(new StubPeripheral(), 4, 1,… in ShouldAllowOnlyAccessWithWidthEqual4()
44 Assert.AreEqual(testArray.RetriveData(), firstWrite); in HandleAccessingInputDataThroughRegisters()
50 Assert.AreEqual(testArray.RetriveData(), secondWrite); in HandleAccessingInputDataThroughRegisters()
57 Assert.AreEqual(false, testArray.AllDataWritten); in ShouldKnowIfNotAllPartsWritten()
59 Assert.AreEqual(false, testArray.AllDataWritten); in ShouldKnowIfNotAllPartsWritten()
61 Assert.AreEqual(false, testArray.AllDataWritten); in ShouldKnowIfNotAllPartsWritten()
63 Assert.AreEqual(false, testArray.AllDataWritten); in ShouldKnowIfNotAllPartsWritten()
72 Assert.AreEqual(new byte[0], testArray.RetriveData()); in ShouldNotRetriveDataUntilAllPartsWritten()
83 Assert.AreEqual(true, testArray.AllDataWritten); in ShouldKnowIfAllPartsWritten()
93 Assert.AreNotEqual(new byte[0], testArray.RetriveData()); in ShouldRetriveDataWhenAllWritten()
104 Assert.AreEqual(true, testArray.AllDataWritten); in ShouldBeAbleToPreserveTrackingWhenRetrivingData()
116 Assert.AreEqual(false, testArray.AllDataWritten); in ShouldClearAccessTrackingAfterGettingNewData()
126 Assert.AreEqual(0x08040201, testArray.GetPartAsDoubleWord(0)); in HandleAccessingOutputDataThroughRegisters()
127 Assert.AreEqual(0x88442211, testArray.GetPartAsDoubleWord(1)); in HandleAccessingOutputDataThroughRegisters()
128 Assert.AreEqual(0x80402010, testArray.GetPartAsDoubleWord(2)); in HandleAccessingOutputDataThroughRegisters()
129 Assert.AreEqual(0x18244281, testArray.GetPartAsDoubleWord(3)); in HandleAccessingOutputDataThroughRegisters()
136 Assert.Throws<ArgumentException>(() => testArray.SetArrayTo(data)); in ShouldThrowWhenSettingArrayWithWrongLength()
142 Assert.Throws<ArgumentOutOfRangeException>(() => testArray.SetPart(17, 0x0)); in ShouldThrowWhenTryingToGetUnexistingPart()