Namespace: DeltaEngine.Tests.Core
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void WriteAndReadNumberMostlyBelow255WithANumberOver255() { var data = new MemoryStream(); var writer = new BinaryWriter(data); const int NumberOver255 = 123456; writer.WriteNumberMostlyBelow255(NumberOver255); data.Position = 0; var reader = new BinaryReader(data); Assert.AreEqual(NumberOver255, reader.ReadNumberMostlyBelow255()); }
See Also