Lines Matching refs:Assert
51 Assert.AreEqual( 0, buf.Size ); in SinglePutGet()
52 Assert.AreEqual( -1, buf.Get() ); in SinglePutGet()
54 Assert.IsTrue(buf.Put( 1 )); in SinglePutGet()
55 Assert.AreEqual( 1, buf.Size ); in SinglePutGet()
56 Assert.AreEqual( 1, buf.Get() ); in SinglePutGet()
57 Assert.AreEqual( 0, buf.Size ); in SinglePutGet()
58 Assert.AreEqual( -1, buf.Get() ); in SinglePutGet()
66 Assert.AreEqual( 10, buf.Put(arr,0,10) ); in BlockPutGet()
67 Assert.AreEqual( 10, buf.Size ); in BlockPutGet()
68 Assert.IsFalse( buf.Put(11) ); in BlockPutGet()
69 Assert.AreEqual( 1, buf.Get() ); in BlockPutGet()
70 Assert.IsTrue( buf.Put(11) ); in BlockPutGet()
73 Assert.AreEqual( 9, buf.Get(arr2,1,9) ); in BlockPutGet()
74 Assert.IsTrue( Utils.byteArrEqual(arr,arr2) ); in BlockPutGet()
88 Assert.AreEqual( 0, crc32.Value ); in CRC32_Null()
91 Assert.AreEqual( 1, crc32.Value ); in CRC32_Null()
94 Assert.AreEqual( 556, crc32.Value ); in CRC32_Null()
103 Assert.AreEqual( 0x70e46888, crc32.Value ); in CRC32_Data()
107 Assert.AreEqual( 0x0e5c1a120, crc32.Value ); in CRC32_Data()
111 Assert.AreEqual(0x43b6aa94, crc32.Value); in CRC32_Data()
122 Assert.AreEqual(0, adler.Value); in Adler_Null()
125 Assert.AreEqual( 1, adler.Value ); in Adler_Null()
128 Assert.AreEqual( 556, adler.Value ); in Adler_Null()
137 Assert.AreEqual( 0x5b001d, adler.Value ); in Adler_Data()
141 Assert.AreEqual(0x0bcf02f6, adler.Value ); in Adler_Data()
145 Assert.AreEqual(0x0bd602f7, adler.Value); in Adler_Data()
159 Assert.AreEqual("1.2.3", Info.Version); in Info_Version()
160 Assert.AreEqual(32, info.SizeOfUInt); in Info_Version()
161 Assert.AreEqual(32, info.SizeOfULong); in Info_Version()
162 Assert.AreEqual(32, info.SizeOfPointer); in Info_Version()
163 Assert.AreEqual(32, info.SizeOfOffset); in Info_Version()
238 Assert.AreEqual( adler1, adler2 ); in Inflate_Expand()
262 Assert.AreEqual("hi there",s); in GZipStream_WriteRead()
264 Assert.AreEqual(Math.PI, d); in GZipStream_WriteRead()
266 Assert.AreEqual(42,i); in GZipStream_WriteRead()