/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ANTLRxxxxStreamFixture.cs | 79 Assert.AreEqual(0, inputStream.Count); 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); 101 Assert.AreEqual(0, inputStream.Index); 104 Assert.AreEqual(1, inputStream.Index); 107 Assert.AreEqual(2, inputStream.Index); 113 Assert.AreEqual(inputStream.Index, inputStream.Count); 129 Assert.AreEqual(inputStream.Index, inputStream.Count); 140 Assert.AreEqual(0, inputStream.Index); 141 Assert.AreEqual(0, inputStream.CharPositionInLine); 142 Assert.AreEqual(1, inputStream.Line) [all...] |
RewriteRuleXxxxStreamFixture.cs | 101 Assert.AreEqual(description.ToString(), tokenTest.Description, 103 Assert.AreEqual(0, tokenTest.Count, "The number of elements should be zero."); 106 Assert.AreEqual(0, tokenTest.Count, 120 Assert.AreEqual(description.ToString(), subtreeTest.Description, 122 Assert.AreEqual(0, subtreeTest.Count, "The number of elements should be zero."); 125 Assert.AreEqual(0, subtreeTest.Count, 138 Assert.AreEqual(description.ToString(), nodeTest.Description, 140 Assert.AreEqual(0, nodeTest.Count, "The number of elements should be zero."); 143 Assert.AreEqual(0, nodeTest.Count, 198 Assert.AreEqual(1, tokenTest.Count, "tokenTest should have the size 1 (1).") [all...] |
ITreeNodeStreamFixture.cs | 64 Assert.AreEqual(expected, actual); 68 Assert.AreEqual(expected, actual); 85 Assert.AreEqual(expected, actual); 89 Assert.AreEqual(expected, actual); 110 Assert.AreEqual(expected, actual); 114 Assert.AreEqual(expected, actual); 129 Assert.AreEqual(expected, actual); 133 Assert.AreEqual(expected, actual); 146 Assert.AreEqual(expected, actual); 150 Assert.AreEqual(expected, actual) [all...] |
ITreeFixture.cs | 59 Assert.AreEqual(-1, t.ChildIndex); 72 Assert.AreEqual(-1, r0.ChildIndex); 86 Assert.AreEqual(-1, r0.ChildIndex); 87 Assert.AreEqual(r0, c0.Parent); 88 Assert.AreEqual(0, c0.ChildIndex); 89 Assert.AreEqual(r0, c1.Parent); 90 Assert.AreEqual(1, c1.ChildIndex); 91 Assert.AreEqual(r0, c2.Parent); 92 Assert.AreEqual(2, c2.ChildIndex); 112 Assert.AreEqual(-1, root.ChildIndex) [all...] |
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
DescriptorsTest.cs | 51 Assert.AreEqual("google/protobuf/unittest_proto3.proto", file.Name); 52 Assert.AreEqual("protobuf_unittest", file.Package); 54 Assert.AreEqual("UnittestProto", file.Proto.Options.JavaOuterClassname); 55 Assert.AreEqual("google/protobuf/unittest_proto3.proto", file.Proto.Name); 58 Assert.AreEqual(0, file.PublicDependencies.Count); 59 Assert.AreEqual(1, UnittestImportProto3Reflection.Descriptor.PublicDependencies.Count); 60 Assert.AreEqual(UnittestImportPublicProto3Reflection.Descriptor, UnittestImportProto3Reflection.Descriptor.PublicDependencies[0]); 62 Assert.AreEqual(1, file.Dependencies.Count); 63 Assert.AreEqual(UnittestImportProto3Reflection.Descriptor, file.Dependencies[0]); 68 Assert.AreEqual(messageType, file.MessageTypes[0]) [all...] |
/external/flatbuffers/tests/FlatBuffers.Test/ |
FlatBuffersExampleTests.cs | 117 Assert.AreEqual(monster.MutateMana((short)10), false); 118 Assert.AreEqual(monster.Mana, (short)150); 121 Assert.AreEqual(monster.Testarrayoftables(0).Value.Name, "Barney"); 122 Assert.AreEqual(monster.Testarrayoftables(1).Value.Name, "Frodo"); 123 Assert.AreEqual(monster.Testarrayoftables(2).Value.Name, "Wilma"); 131 Assert.AreEqual(monster.TestType, Any.Monster); 132 Assert.AreEqual(monster.MutateTestType(Any.NONE), true); 133 Assert.AreEqual(monster.TestType, Any.NONE); 134 Assert.AreEqual(monster.MutateTestType(Any.Monster), true); 135 Assert.AreEqual(monster.TestType, Any.Monster) [all...] |
ByteBufferTests.cs | 30 Assert.AreEqual(buffer.Length, uut.Length); 40 Assert.AreEqual((byte)99, buffer[0]); 61 Assert.AreEqual((byte)1, buffer[0]); 62 Assert.AreEqual((byte)0, buffer[1]); 101 Assert.AreEqual(0x0D, buffer[0]); 102 Assert.AreEqual(0x0C, buffer[1]); 103 Assert.AreEqual(0x0B, buffer[2]); 104 Assert.AreEqual(0x0A, buffer[3]); 141 Assert.AreEqual(0x0D, buffer[0]); 142 Assert.AreEqual(0x0C, buffer[1]) [all...] |
FlatBufferBuilderTests.cs | 36 Assert.AreEqual(sizeof(bool), endOffset-storedOffset); 46 Assert.AreEqual(sizeof(sbyte), endOffset - storedOffset); 56 Assert.AreEqual(sizeof(byte), endOffset - storedOffset); 66 Assert.AreEqual(sizeof(short), endOffset - storedOffset); 76 Assert.AreEqual(sizeof(ushort), endOffset - storedOffset); 86 Assert.AreEqual(sizeof(int), endOffset - storedOffset); 96 Assert.AreEqual(sizeof(uint), endOffset - storedOffset); 106 Assert.AreEqual(sizeof(long), endOffset - storedOffset); 116 Assert.AreEqual(sizeof(ulong), endOffset - storedOffset); 126 Assert.AreEqual(sizeof(float), endOffset - storedOffset) [all...] |
FlatBuffersFuzzTests.cs | 679 Assert.AreEqual(FuzzTestData.BoolValue, table.GetSlot(f, false)); 684 Assert.AreEqual(FuzzTestData.Int8Value, table.GetSlot(f, (sbyte)0)); 689 Assert.AreEqual(FuzzTestData.UInt8Value, table.GetSlot(f, (byte)0)); 694 Assert.AreEqual(FuzzTestData.Int16Value, table.GetSlot(f, (short)0)); 699 Assert.AreEqual(FuzzTestData.UInt16Value, table.GetSlot(f, (ushort)0)); 704 Assert.AreEqual(FuzzTestData.Int32Value, table.GetSlot(f, (int)0)); 709 Assert.AreEqual(FuzzTestData.UInt32Value, table.GetSlot(f, (uint)0)); 714 Assert.AreEqual(FuzzTestData.Int64Value, table.GetSlot(f, (long)0)); 719 Assert.AreEqual(FuzzTestData.UInt64Value, table.GetSlot(f, (ulong)0)); 724 Assert.AreEqual(FuzzTestData.Float32Value, table.GetSlot(f, (float)0)) [all...] |
Assert.cs | 78 public static void AreEqual<T>(T expected, T actual)
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
CodedOutputStreamTest.cs | 55 Assert.AreEqual(data, rawOutput.ToArray());
57 Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value));
65 Assert.AreEqual(data, rawOutput.ToArray());
68 Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint64Size(value));
82 Assert.AreEqual(data, rawOutput.ToArray());
90 Assert.AreEqual(data, rawOutput.ToArray());
140 Assert.AreEqual(data, rawOutput.ToArray());
149 Assert.AreEqual(data, rawOutput.ToArray());
163 Assert.AreEqual(data, rawOutput.ToArray());
172 Assert.AreEqual(data, rawOutput.ToArray()); [all...] |
ByteStringTest.cs | 72 Assert.AreEqual(0, ByteString.Empty.Length);
79 Assert.AreEqual(4, bs.Length);
80 Assert.AreEqual(65, bs[0]);
81 Assert.AreEqual(0, bs[1]);
82 Assert.AreEqual(66, bs[2]);
83 Assert.AreEqual(0, bs[3]);
104 Assert.AreEqual(10, bs[0]);
106 Assert.AreEqual(10, bs[0]);
114 Assert.AreEqual((byte)'H', data[0]);
115 Assert.AreEqual((byte)'H', bs[0]); [all...] |
CodedInputStreamTest.cs | 63 Assert.AreEqual((uint) value, input.ReadRawVarint32());
66 Assert.AreEqual(value, input.ReadRawVarint64());
73 Assert.AreEqual((uint) value, input.ReadRawVarint32());
76 Assert.AreEqual(value, input.ReadRawVarint64());
87 Assert.AreEqual((uint) value, CodedInputStream.ReadRawVarint32(memoryStream));
88 Assert.AreEqual(data.Length, memoryStream.Position);
100 Assert.AreEqual(expected.Message, exception.Message);
104 Assert.AreEqual(expected.Message, exception.Message);
108 Assert.AreEqual(expected.Message, exception.Message);
156 Assert.AreEqual(value, input.ReadRawLittleEndian32()); [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
image_util.py | 84 def AreEqual(image1, image2, tolerance=0, likely_equal=True): 89 return impl.AreEqual(image1, image2, tolerance, likely_equal)
|
screenshot_unittest.py | 34 self.assertTrue(image_util.AreEqual(
|
image_util_unittest.py | 51 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
TestDotTreeGenerator.cs | 82 Assert.AreEqual( expected, output );
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
image_util_bitmap_impl.py | 37 def AreEqual(bitmap1, bitmap2, tolerance, _):
|
video_unittest.py | 50 self.assertTrue(image_util.AreEqual(expected_bitmap, bmp))
|
image_util_numpy_impl.py | 83 def AreEqual(image1, image2, tolerance, likely_equal):
|
/external/webrtc/webrtc/base/ |
ipaddress_unittest.cc | 105 bool AreEqual(const IPAddress& addr, 290 EXPECT_PRED2(AreEqual, addr, addr2); 294 EXPECT_PRED2(AreEqual, addr, addr2); 298 EXPECT_PRED2(AreEqual, addr, addr2); 302 EXPECT_PRED2(AreEqual, addr, addr2); 306 EXPECT_PRED2(AreEqual, addr, addr2); 310 EXPECT_PRED2(AreEqual, addr, addr2); 314 EXPECT_PRED2(AreEqual, addr, addr2); 318 EXPECT_PRED2(AreEqual, addr, addr2); 322 EXPECT_PRED2(AreEqual, addr, addr2) [all...] |
socketaddress_unittest.cc | 243 bool AreEqual(const SocketAddress& addr1, 258 EXPECT_PRED2(AreEqual, addr1, addr2); 270 EXPECT_PRED2(AreEqual, addr1, addr2); 281 EXPECT_PRED2(AreEqual, addr3, addr3); 285 EXPECT_PRED2(AreEqual,addr3, addr4);
|
/external/skia/src/gpu/ |
GrPipeline.h | 98 static bool AreEqual(const GrPipeline& a, const GrPipeline& b); 108 if (!AreEqual(a, b)) {
|
GrPipeline.cpp | 167 bool GrPipeline::AreEqual(const GrPipeline& a, const GrPipeline& b) {
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
page_run_end_to_end_unittest.py | 784 self.assertTrue(image_util.AreEqual(
|