Searched refs:EXPECT_EQ (Results 1 - 25 of 1542) sorted by relevance

1234567891011>>

/external/webrtc/webrtc/common_audio/vad/
H A Dvad_gmm_unittest.cc24 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(0, 0, 128, &delta));
25 EXPECT_EQ(0, delta);
26 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(16, 128, 128, &delta));
27 EXPECT_EQ(0, delta);
28 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(-16, -128, 128, &delta));
29 EXPECT_EQ(0, delta);
32 EXPECT_EQ(1024, WebRtcVad_GaussianProbability(59, 0, 128, &delta));
33 EXPECT_EQ(7552, delta);
34 EXPECT_EQ(1024, WebRtcVad_GaussianProbability(75, 128, 128, &delta));
35 EXPECT_EQ(755
[all...]
/external/pdfium/core/fxcrt/
H A Dfx_basic_gcc_unittest.cpp9 EXPECT_EQ(0, FXSYS_atoi(""));
10 EXPECT_EQ(0, FXSYS_atoi("0"));
11 EXPECT_EQ(-1, FXSYS_atoi("-1"));
12 EXPECT_EQ(2345, FXSYS_atoi("2345"));
13 EXPECT_EQ(-2147483647, FXSYS_atoi("-2147483647"));
15 EXPECT_EQ(-2345, FXSYS_atoi("-2345"));
16 EXPECT_EQ(2345, FXSYS_atoi("+2345"));
18 EXPECT_EQ(2147483647, FXSYS_atoi("2147483647"));
21 EXPECT_EQ(-2147483647 - 1, FXSYS_atoi("-2147483648"));
23 EXPECT_EQ(
[all...]
H A Dfx_extension_unittest.cpp10 EXPECT_EQ(10, FXSYS_toHexDigit('a'));
11 EXPECT_EQ(10, FXSYS_toHexDigit('A'));
12 EXPECT_EQ(7, FXSYS_toHexDigit('7'));
13 EXPECT_EQ(0, FXSYS_toHexDigit('i'));
17 EXPECT_EQ(7, FXSYS_toDecimalDigit('7'));
18 EXPECT_EQ(0, FXSYS_toDecimalDigit('a'));
19 EXPECT_EQ(7, FXSYS_toDecimalDigit(L'7'));
20 EXPECT_EQ(0, FXSYS_toDecimalDigit(L'a'));
31 EXPECT_EQ(0u, FX_HashCode_GetA("", false));
32 EXPECT_EQ(6
[all...]
/external/clang/unittests/Format/
H A DFormatTestSelective.cpp41 EXPECT_EQ("int a;\nint b;", format("int a; \nint b;", 0, 0));
42 EXPECT_EQ("int a;", format("int a; ", 0, 0));
43 EXPECT_EQ("int a;\n", format("int a; \n \n \n ", 0, 0));
44 EXPECT_EQ("int a;\nint b; ", format("int a; \nint b; ", 0, 0));
48 EXPECT_EQ("{int b;\n"
52 EXPECT_EQ("{\n"
58 EXPECT_EQ("#define A \\\n"
65 EXPECT_EQ("#define A \\\n"
75 EXPECT_EQ("int b;\n\nint a;", format("int b;\n\nint a;", 8, 0));
76 EXPECT_EQ("in
[all...]
/external/libchrome/base/
H A Dbits_unittest.cc19 EXPECT_EQ(-1, Log2Floor(0));
20 EXPECT_EQ(0, Log2Floor(1));
21 EXPECT_EQ(1, Log2Floor(2));
22 EXPECT_EQ(1, Log2Floor(3));
23 EXPECT_EQ(2, Log2Floor(4));
26 EXPECT_EQ(i, Log2Floor(value));
27 EXPECT_EQ(i, Log2Floor(value + 1));
28 EXPECT_EQ(i, Log2Floor(value + 2));
29 EXPECT_EQ(i - 1, Log2Floor(value - 1));
30 EXPECT_EQ(
[all...]
/external/llvm/unittests/Support/
H A DDwarfTest.cpp20 EXPECT_EQ(nullptr, TagString(DW_TAG_invalid));
24 EXPECT_EQ(nullptr, TagString(DW_TAG_lo_user));
25 EXPECT_EQ(nullptr, TagString(DW_TAG_hi_user));
26 EXPECT_EQ(nullptr, TagString(DW_TAG_user_base));
31 EXPECT_EQ(DW_TAG_array_type, getTag("DW_TAG_array_type"));
32 EXPECT_EQ(DW_TAG_module, getTag("DW_TAG_module"));
35 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_invalid"));
36 EXPECT_EQ(DW_TAG_invalid, getTag("DW_TAG_madeuptag"));
37 EXPECT_EQ(DW_TAG_invalid, getTag("something else"));
40 EXPECT_EQ(DW_TAG_invali
[all...]
H A DUnicodeTest.cpp19 EXPECT_EQ(0, columnWidthUTF8(""));
20 EXPECT_EQ(1, columnWidthUTF8(" "));
21 EXPECT_EQ(1, columnWidthUTF8("a"));
22 EXPECT_EQ(1, columnWidthUTF8("~"));
24 EXPECT_EQ(6, columnWidthUTF8("abcdef"));
26 EXPECT_EQ(-1, columnWidthUTF8("\x01"));
27 EXPECT_EQ(-1, columnWidthUTF8("aaaaaaaaaa\x01"));
28 EXPECT_EQ(-1, columnWidthUTF8("\342\200\213")); // 200B ZERO WIDTH SPACE
34 EXPECT_EQ(1, columnWidthUTF8("\302\255"));
36 EXPECT_EQ(
[all...]
H A Draw_ostream_test.cpp52 EXPECT_EQ("c", printToString('c'));
55 EXPECT_EQ("hello", printToString("hello"));
56 EXPECT_EQ("hello", printToString(std::string("hello")));
59 EXPECT_EQ("0", printToString(0));
60 EXPECT_EQ("2425", printToString(2425));
61 EXPECT_EQ("-2425", printToString(-2425));
64 EXPECT_EQ("0", printToString(0LL));
65 EXPECT_EQ("257257257235709", printToString(257257257235709LL));
66 EXPECT_EQ("-257257257235709", printToString(-257257257235709LL));
69 EXPECT_EQ("1.10000
[all...]
/external/libtextclassifier/tests/
H A Dtextclassifier_jni_test.cc27 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello", {0, 5}), std::make_pair(0, 5));
28 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello", {0, 5}), std::make_pair(0, 5));
30 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello world", {0, 5}),
32 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello world", {0, 5}),
34 EXPECT_EQ(ConvertIndicesBMPToUTF8("😁ello world", {0, 6}),
36 EXPECT_EQ(ConvertIndicesUTF8ToBMP("😁ello world", {0, 5}),
39 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello world", {6, 11}),
41 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello world", {6, 11}),
43 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello worl😁", {6, 12}),
45 EXPECT_EQ(ConvertIndicesUTF8ToBM
[all...]
/external/google-breakpad/src/testing/gtest/samples/
H A Dsample4_unittest.cc39 // EXPECT_EQ() evaluates its arguments exactly once, so they
42 EXPECT_EQ(0, c.Increment());
43 EXPECT_EQ(1, c.Increment());
44 EXPECT_EQ(2, c.Increment());
/external/googletest/googletest/samples/
H A Dsample4_unittest.cc39 // EXPECT_EQ() evaluates its arguments exactly once, so they
42 EXPECT_EQ(0, c.Increment());
43 EXPECT_EQ(1, c.Increment());
44 EXPECT_EQ(2, c.Increment());
/external/v8/testing/gtest/samples/
H A Dsample4_unittest.cc39 // EXPECT_EQ() evaluates its arguments exactly once, so they
42 EXPECT_EQ(0, c.Increment());
43 EXPECT_EQ(1, c.Increment());
44 EXPECT_EQ(2, c.Increment());
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
H A Dsample4_unittest.cc39 // EXPECT_EQ() evaluates its arguments exactly once, so they
42 EXPECT_EQ(0, c.Increment());
43 EXPECT_EQ(1, c.Increment());
44 EXPECT_EQ(2, c.Increment());
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_flags_test.cc32 EXPECT_EQ(true, f.enable_annotations);
86 EXPECT_EQ(f->enable_annotations, 0);
87 EXPECT_EQ(f->suppress_equal_stacks, 0);
88 EXPECT_EQ(f->suppress_equal_addresses, 0);
89 EXPECT_EQ(f->report_bugs, 0);
90 EXPECT_EQ(f->report_thread_leaks, 0);
91 EXPECT_EQ(f->report_destroy_locked, 0);
92 EXPECT_EQ(f->report_mutex_bugs, 0);
93 EXPECT_EQ(f->report_signal_unsafe, 0);
94 EXPECT_EQ(
[all...]
/external/swiftshader/third_party/LLVM/unittests/ADT/
H A DAPIntTest.cpp29 EXPECT_EQ(126u, Minus3.countLeadingOnes());
30 EXPECT_EQ(-3, Minus3.getSExtValue());
33 EXPECT_EQ(0u, Minus1.countLeadingZeros());
34 EXPECT_EQ(128u, Minus1.countLeadingOnes());
35 EXPECT_EQ(128u, Minus1.getActiveBits());
36 EXPECT_EQ(0u, Minus1.countTrailingZeros());
37 EXPECT_EQ(128u, Minus1.countTrailingOnes());
38 EXPECT_EQ(128u, Minus1.countPopulation());
39 EXPECT_EQ(-1, Minus1.getSExtValue());
47 EXPECT_EQ(
[all...]
H A DIntEqClassesTest.cpp25 EXPECT_EQ(0u, ec.findLeader(0));
26 EXPECT_EQ(0u, ec.findLeader(1));
27 EXPECT_EQ(2u, ec.findLeader(2));
28 EXPECT_EQ(2u, ec.findLeader(3));
29 EXPECT_EQ(4u, ec.findLeader(4));
30 EXPECT_EQ(4u, ec.findLeader(5));
31 EXPECT_EQ(6u, ec.findLeader(6));
32 EXPECT_EQ(6u, ec.findLeader(7));
33 EXPECT_EQ(8u, ec.findLeader(8));
34 EXPECT_EQ(
[all...]
/external/libbrillo/brillo/
H A Dtype_name_undecorate_unittest.cc31 EXPECT_EQ("int", UndecorateTypeName("i"));
32 EXPECT_EQ("char const* brillo::GetTypeTag<unsigned long long>()",
34 EXPECT_EQ("std::__1::to_string(int)",
40 EXPECT_EQ("int",
43 EXPECT_EQ("int []",
46 EXPECT_EQ("foo::bar<int []>()",
52 EXPECT_EQ("int", GetUndecoratedTypeName<int>());
53 EXPECT_EQ("int *", GetUndecoratedTypeName<int*>());
54 EXPECT_EQ("const int *", GetUndecoratedTypeName<const int*>());
55 EXPECT_EQ("in
[all...]
H A Durl_utils_unittest.cc12 EXPECT_EQ("http://sample.org/path",
14 EXPECT_EQ("http://sample.org/path",
16 EXPECT_EQ("path1/path2", url::Combine("", "path1/path2"));
17 EXPECT_EQ("path1/path2", url::Combine("path1", "path2"));
18 EXPECT_EQ("http://sample.org", url::Combine("http://sample.org", ""));
19 EXPECT_EQ("http://sample.org/path",
21 EXPECT_EQ("http://sample.org/path",
23 EXPECT_EQ("http://sample.org/", url::Combine("http://sample.org", "///"));
24 EXPECT_EQ("http://sample.org/obj/path1/path2",
26 EXPECT_EQ("htt
[all...]
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_doc_comment_unittest.cc44 EXPECT_EQ("foo /&#42; bar *&#47; baz", EscapeJavadoc("foo /* bar */ baz"));
45 EXPECT_EQ("foo /&#42;&#47; baz", EscapeJavadoc("foo /*/ baz"));
46 EXPECT_EQ("{&#64;foo}", EscapeJavadoc("{@foo}"));
47 EXPECT_EQ("&lt;i&gt;&amp;&lt;/i&gt;", EscapeJavadoc("<i>&</i>"));
48 EXPECT_EQ("foo&#92;u1234bar", EscapeJavadoc("foo\\u1234bar"));
49 EXPECT_EQ("&#64;deprecated", EscapeJavadoc("@deprecated"));
/external/webrtc/webrtc/common_audio/resampler/
H A Dpush_resampler_unittest.cc20 EXPECT_EQ(-1, resampler.InitializeIfNeeded(-1, 16000, 1));
21 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, -1, 1));
22 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, 16000, 0));
23 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, 16000, 3));
24 EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 1));
25 EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 2));
/external/llvm/unittests/ADT/
H A DIntEqClassesTest.cpp25 EXPECT_EQ(0u, ec.findLeader(0));
26 EXPECT_EQ(0u, ec.findLeader(1));
27 EXPECT_EQ(2u, ec.findLeader(2));
28 EXPECT_EQ(2u, ec.findLeader(3));
29 EXPECT_EQ(4u, ec.findLeader(4));
30 EXPECT_EQ(4u, ec.findLeader(5));
31 EXPECT_EQ(6u, ec.findLeader(6));
32 EXPECT_EQ(6u, ec.findLeader(7));
33 EXPECT_EQ(8u, ec.findLeader(8));
34 EXPECT_EQ(
[all...]
/external/mesa3d/src/glx/tests/
H A Denum_sizes.cpp44 EXPECT_EQ(1, __glCallLists_size(GL_BYTE));
45 EXPECT_EQ(1, __glCallLists_size(GL_UNSIGNED_BYTE));
46 EXPECT_EQ(2, __glCallLists_size(GL_SHORT));
47 EXPECT_EQ(2, __glCallLists_size(GL_UNSIGNED_SHORT));
48 EXPECT_EQ(2, __glCallLists_size(GL_2_BYTES));
49 EXPECT_EQ(2, __glCallLists_size(GL_HALF_FLOAT));
50 EXPECT_EQ(3, __glCallLists_size(GL_3_BYTES));
51 EXPECT_EQ(4, __glCallLists_size(GL_INT));
52 EXPECT_EQ(4, __glCallLists_size(GL_UNSIGNED_INT));
53 EXPECT_EQ(
[all...]
/external/pdfium/core/fpdfapi/page/
H A Dcpdf_streamcontentparser_unittest.cpp9 EXPECT_EQ(CFX_ByteStringC("BitsPerComponent"),
11 EXPECT_EQ(CFX_ByteStringC("Width"),
13 EXPECT_EQ(CFX_ByteStringC(""),
15 EXPECT_EQ(CFX_ByteStringC(""),
18 EXPECT_EQ(CFX_ByteStringC(""),
23 EXPECT_EQ(CFX_ByteStringC("DeviceGray"),
25 EXPECT_EQ(CFX_ByteStringC("DCTDecode"),
27 EXPECT_EQ(CFX_ByteStringC(""),
29 EXPECT_EQ(CFX_ByteStringC(""),
32 EXPECT_EQ(CFX_ByteString
[all...]
/external/swiftshader/third_party/LLVM/unittests/Support/
H A Draw_ostream_test.cpp52 EXPECT_EQ("c", printToString('c'));
55 EXPECT_EQ("hello", printToString("hello"));
56 EXPECT_EQ("hello", printToString(std::string("hello")));
59 EXPECT_EQ("0", printToString(0));
60 EXPECT_EQ("2425", printToString(2425));
61 EXPECT_EQ("-2425", printToString(-2425));
64 EXPECT_EQ("0", printToString(0LL));
65 EXPECT_EQ("257257257235709", printToString(257257257235709LL));
66 EXPECT_EQ("-257257257235709", printToString(-257257257235709LL));
69 EXPECT_EQ("1.10000
[all...]
/external/protobuf/src/google/protobuf/compiler/csharp/
H A Dcsharp_generator_unittest.cc49 EXPECT_EQ("Bar", GetEnumValueName("Foo", "BAR"));
50 EXPECT_EQ("BarBaz", GetEnumValueName("Foo", "BAR_BAZ"));
51 EXPECT_EQ("Bar", GetEnumValueName("Foo", "FOO_BAR"));
52 EXPECT_EQ("Bar", GetEnumValueName("Foo", "FOO__BAR"));
53 EXPECT_EQ("BarBaz", GetEnumValueName("Foo", "FOO_BAR_BAZ"));
54 EXPECT_EQ("BarBaz", GetEnumValueName("Foo", "Foo_BarBaz"));
55 EXPECT_EQ("Bar", GetEnumValueName("FO_O", "FOO_BAR"));
56 EXPECT_EQ("Bar", GetEnumValueName("FOO", "F_O_O_BAR"));
57 EXPECT_EQ("Bar", GetEnumValueName("Foo", "BAR"));
58 EXPECT_EQ("BarBa
[all...]

Completed in 2874 milliseconds

1234567891011>>