Home
last modified time | relevance | path

Searched refs:AreEqual (Results 1 – 17 of 17) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DANTLRxxxxStreamFixture.cs79 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 …]
DRewriteRuleXxxxStreamFixture.cs101 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 …]
DITreeNodeStreamFixture.cs64 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 …]
DITreeFixture.cs59 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/
DUnitTests.cs51 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/webrtc/webrtc/base/
Dipaddress_unittest.cc105 bool AreEqual(const IPAddress& addr, in AreEqual() function
290 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
294 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
298 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
302 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
306 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
310 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
314 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
318 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
322 EXPECT_PRED2(AreEqual, addr, addr2); in TEST()
[all …]
Dsocketaddress_unittest.cc243 bool AreEqual(const SocketAddress& addr1, in AreEqual() function
258 EXPECT_PRED2(AreEqual, addr1, addr2); in TEST()
270 EXPECT_PRED2(AreEqual, addr1, addr2); in TEST()
281 EXPECT_PRED2(AreEqual, addr3, addr3); in TEST()
285 EXPECT_PRED2(AreEqual,addr3, addr4); in TEST()
/external/chromium-trace/catapult/telemetry/telemetry/util/
Dimage_util.py84 def AreEqual(image1, image2, tolerance=0, likely_equal=True): function
89 return impl.AreEqual(image1, image2, tolerance, likely_equal)
Dimage_util_unittest.py51 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True))
67 self.assertTrue(image_util.AreEqual(orig, new_file, likely_equal=True))
72 self.assertTrue(image_util.AreEqual(bmp, file_bmp, likely_equal=True))
/external/skia/src/gpu/
DGrPipeline.h71 static bool AreEqual(const GrPipeline& a, const GrPipeline& b, bool ignoreCoordTransforms);
82 if (!AreEqual(a, b, ignoreCoordTransforms)) {
DGrPipeline.cpp209 bool GrPipeline::AreEqual(const GrPipeline& a, const GrPipeline& b, in AreEqual() function in GrPipeline
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dvideo_unittest.py50 self.assertTrue(image_util.AreEqual(expected_bitmap, bmp))
Dimage_util_bitmap_impl.py37 def AreEqual(bitmap1, bitmap2, tolerance, _): function
Dimage_util_numpy_impl.py78 def AreEqual(image1, image2, tolerance, likely_equal): function
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DTestDotTreeGenerator.cs82 Assert.AreEqual( expected, output ); in TestCreateDot()
/external/skia/src/gpu/batches/
DGrDrawPathBatch.cpp64 if (!GrPipeline::AreEqual(*this->pipeline(), *that->pipeline(), false)) { in onCombineIfPossible()
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dpage_run_end_to_end_unittest.py734 self.assertTrue(image_util.AreEqual(