/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 79 Assert.AreEqual(0, inputStream.Count); in TestSizeOnEmptyANTLRInputStream() 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); in TestSizeOnANTLRInputStream() 101 Assert.AreEqual(0, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 104 Assert.AreEqual(1, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 107 Assert.AreEqual(2, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 113 Assert.AreEqual(inputStream.Index, inputStream.Count); in TestConsumeAndIndexOnANTLRInputStream() 129 Assert.AreEqual(inputStream.Index, inputStream.Count); in TestConsumeAllCharactersInAnANTLRInputStream() 140 Assert.AreEqual(0, inputStream.Index); in TestConsumeOnANTLRInputStream() 141 Assert.AreEqual(0, inputStream.CharPositionInLine); in TestConsumeOnANTLRInputStream() 142 Assert.AreEqual(1, inputStream.Line); in TestConsumeOnANTLRInputStream() [all …]
|
D | RewriteRuleXxxxStreamFixture.cs | 101 Assert.AreEqual(description.ToString(), tokenTest.Description, in CheckRRTokenStreamBehaviourWhileEmpty1() 103 Assert.AreEqual(0, tokenTest.Count, "The number of elements should be zero."); in CheckRRTokenStreamBehaviourWhileEmpty1() 106 Assert.AreEqual(0, tokenTest.Count, in CheckRRTokenStreamBehaviourWhileEmpty1() 120 Assert.AreEqual(description.ToString(), subtreeTest.Description, in CheckRRSubtreeStreamBehaviourWhileEmpty1() 122 Assert.AreEqual(0, subtreeTest.Count, "The number of elements should be zero."); in CheckRRSubtreeStreamBehaviourWhileEmpty1() 125 Assert.AreEqual(0, subtreeTest.Count, in CheckRRSubtreeStreamBehaviourWhileEmpty1() 138 Assert.AreEqual(description.ToString(), nodeTest.Description, in CheckRRNodeStreamBehaviourWhileEmpty1() 140 Assert.AreEqual(0, nodeTest.Count, "The number of elements should be zero."); in CheckRRNodeStreamBehaviourWhileEmpty1() 143 Assert.AreEqual(0, nodeTest.Count, in CheckRRNodeStreamBehaviourWhileEmpty1() 198 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (1)."); in CheckRRTokenStreamBehaviourWithElements() [all …]
|
D | ITreeNodeStreamFixture.cs | 64 Assert.AreEqual(expected, actual); in testSingleNode() 68 Assert.AreEqual(expected, actual); in testSingleNode() 85 Assert.AreEqual(expected, actual); in test4Nodes() 89 Assert.AreEqual(expected, actual); in test4Nodes() 110 Assert.AreEqual(expected, actual); in testList() 114 Assert.AreEqual(expected, actual); in testList() 129 Assert.AreEqual(expected, actual); in testFlatList() 133 Assert.AreEqual(expected, actual); in testFlatList() 146 Assert.AreEqual(expected, actual); in testListWithOneNode() 150 Assert.AreEqual(expected, actual); in testListWithOneNode() [all …]
|
D | ITreeFixture.cs | 59 Assert.AreEqual(-1, t.ChildIndex); in testSingleNode() 72 Assert.AreEqual(-1, r0.ChildIndex); in test4Nodes() 86 Assert.AreEqual(-1, r0.ChildIndex); in testList() 87 Assert.AreEqual(r0, c0.Parent); in testList() 88 Assert.AreEqual(0, c0.ChildIndex); in testList() 89 Assert.AreEqual(r0, c1.Parent); in testList() 90 Assert.AreEqual(1, c1.ChildIndex); in testList() 91 Assert.AreEqual(r0, c2.Parent); in testList() 92 Assert.AreEqual(2, c2.ChildIndex); in testList() 112 Assert.AreEqual(-1, root.ChildIndex); in testList2() [all …]
|
/external/zlib/src/contrib/dotzlib/DotZLib/ |
D | UnitTests.cs | 51 Assert.AreEqual( 0, buf.Size ); in SinglePutGet() 52 Assert.AreEqual( -1, buf.Get() ); 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() 69 Assert.AreEqual( 1, buf.Get() ); in BlockPutGet() 73 Assert.AreEqual( 9, buf.Get(arr2,1,9) ); in BlockPutGet() [all …]
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | HandlerOut.cpp | 82 static bool AreEqual(const UString &methodName, const wchar_t *s) in AreEqual() function 88 AreEqual(MethodName, kLZMAMethodName) || in IsLzma() 89 AreEqual(MethodName, kLZMA2MethodName); in IsLzma() 93 { return AreEqual(methodName, kBZip2MethodName); } in IsBZip2Method() 96 { return AreEqual(methodName, kPpmdMethodName); } in IsPpmdMethod() 101 AreEqual(methodName, kDeflateMethodName) || in IsDeflateMethod() 102 AreEqual(methodName, kDeflate64MethodName); in IsDeflateMethod()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
D | TestDotTreeGenerator.cs | 82 Assert.AreEqual( expected, output ); in TestCreateDot()
|