/third_party/node/deps/npm/node_modules/core-util-is/ |
D | test.js | 5 assert.equal(t.isArray([]), true); 6 assert.equal(t.isArray({}), false); 8 assert.equal(t.isBoolean(null), false); 9 assert.equal(t.isBoolean(true), true); 10 assert.equal(t.isBoolean(false), true); 12 assert.equal(t.isNull(null), true); 13 assert.equal(t.isNull(undefined), false); 14 assert.equal(t.isNull(false), false); 15 assert.equal(t.isNull(), false); 17 assert.equal(t.isNullOrUndefined(null), true); [all …]
|
/third_party/node/deps/npm/node_modules/ip/test/ |
D | api-test.js | 12 assert.equal(buf.toString('hex'), '7f000001'); 13 assert.equal(ip.toString(buf), '127.0.0.1'); 20 assert.equal(buf.toString('hex', offset, offset + 4), '7f000001'); 21 assert.equal(ip.toString(buf, offset, 4), '127.0.0.1'); 27 assert.equal(ip.toString(buf), '::1'); 28 assert.equal(ip.toString(ip.toBuffer('1::')), '1::'); 29 assert.equal(ip.toString(ip.toBuffer('abcd::dcba')), 'abcd::dcba'); 37 assert.equal(ip.toString(buf, offset, 16), '::1'); 38 assert.equal(ip.toString(ip.toBuffer('1::', buf, offset), 40 assert.equal(ip.toString(ip.toBuffer('abcd::dcba', buf, offset), [all …]
|
/third_party/boost/libs/hana/test/_include/laws/ |
D | foldable.hpp | 69 BOOST_HANA_CHECK(hana::equal( in TestFoldable() 76 BOOST_HANA_CHECK(hana::equal( in TestFoldable() 81 BOOST_HANA_CHECK(hana::equal( in TestFoldable() 88 BOOST_HANA_CHECK(hana::equal( in TestFoldable() 93 BOOST_HANA_CHECK(hana::equal( in TestFoldable() 101 BOOST_HANA_CHECK(hana::equal( in TestFoldable() 103 hana::count_if(xs, equal.to(not_there{})) in TestFoldable() 107 BOOST_HANA_CHECK(hana::equal( in TestFoldable() 109 hana::count_if(xs, equal.to(value)) in TestFoldable() 125 BOOST_HANA_CHECK(hana::equal( in __anon0fd87a2e0402() [all …]
|
D | monad_plus.hpp | 57 BOOST_HANA_CHECK(hana::equal( in TestMonadPlus() 63 BOOST_HANA_CHECK(hana::equal( in TestMonadPlus() 70 BOOST_HANA_CHECK(hana::equal( in TestMonadPlus() 75 BOOST_HANA_CHECK(hana::equal( in TestMonadPlus() 84 BOOST_HANA_CHECK(hana::equal( in TestMonadPlus() 96 BOOST_HANA_CHECK(hana::equal( in TestMonadPlus() 104 BOOST_HANA_CHECK(hana::equal( in TestMonadPlus() 106 hana::remove_if(x, hana::equal.to(value)) in TestMonadPlus() 132 BOOST_HANA_CONSTANT_CHECK(equal( 139 BOOST_HANA_CONSTANT_CHECK(equal( [all …]
|
D | functor.hpp | 49 BOOST_HANA_CHECK(hana::equal( in TestFunctor() 55 BOOST_HANA_CHECK(hana::equal( in TestFunctor() 63 BOOST_HANA_CHECK(hana::equal( in TestFunctor() 65 hana::adjust_if(x, hana::equal.to(value), f) in TestFunctor() 70 BOOST_HANA_CHECK(hana::equal( in TestFunctor() 72 hana::replace_if(x, hana::equal.to(oldval), newval) in TestFunctor() 78 BOOST_HANA_CHECK(hana::equal( in TestFunctor() 89 BOOST_HANA_CHECK(hana::equal( in TestFunctor() 94 BOOST_HANA_CHECK(hana::equal( in TestFunctor() 124 BOOST_HANA_CONSTANT_CHECK(hana::equal( [all …]
|
D | searchable.hpp | 59 hana::to_tuple(hana::transform(keys, equal.to)), in TestSearchable() 104 BOOST_HANA_CONSTANT_CHECK(hana::equal( in TestSearchable() 125 BOOST_HANA_CHECK(hana::equal( in TestSearchable() 127 hana::find_if(xs, hana::equal.to(key)) in TestSearchable() 133 hana::any_of(xs, hana::equal.to(key)) in TestSearchable() 139 BOOST_HANA_CHECK(hana::equal( in TestSearchable() 179 hana::not_(hana::any_of(list(), equal.to(x<9>{}))) 183 hana::not_(hana::any_of(list(x<0>{}), equal.to(x<9>{}))) 186 hana::any_of(list(x<0>{}), equal.to(x<0>{})) 189 hana::any_of(list(x<0>{}, invalid<1>{}), equal.to(x<0>{})) [all …]
|
/third_party/node/deps/npm/node_modules/umask/test/ |
D | simple.js | 24 expect(result).to.equal(true); 25 expect(o.umask).to.equal(0); 28 expect(result).to.equal(true); 29 expect(o.umask).to.equal(511); 38 expect(result).to.equal(true); 39 expect(o.umask).to.equal(0); 42 expect(result).to.equal(true); 43 expect(o.umask).to.equal(511); 49 expect(umask.validate(undefined, undefined, false)).to.equal(false); 50 expect(umask.validate(undefined, undefined, {})).to.equal(false); [all …]
|
/third_party/node/deps/npm/node_modules/qs/test/ |
D | stringify.js | 11 st.equal(qs.stringify({ a: 'b' }), 'a=b'); 12 st.equal(qs.stringify({ a: 1 }), 'a=1'); 13 st.equal(qs.stringify({ a: 1, b: 2 }), 'a=1&b=2'); 14 st.equal(qs.stringify({ a: 'A_Z' }), 'a=A_Z'); 15 st.equal(qs.stringify({ a: '€' }), 'a=%E2%82%AC'); 16 st.equal(qs.stringify({ a: '' }), 'a=%EE%80%80'); 17 st.equal(qs.stringify({ a: 'א' }), 'a=%D7%90'); 18 st.equal(qs.stringify({ a: '' }), 'a=%F0%90%90%B7'); 23 st.equal(qs.stringify({ a: 'b' }, { addQueryPrefix: true }), '?a=b'); 28 st.equal(qs.stringify({}, { addQueryPrefix: true }), ''); [all …]
|
/third_party/boost/libs/range/test/algorithm_test/ |
D | equal.cpp | 40 BOOST_CHECK( boost::equal(cont1, cont2) ); in test_equal_impl() 41 BOOST_CHECK( boost::equal(boost::make_iterator_range(cont1), cont2) ); in test_equal_impl() 42 BOOST_CHECK( boost::equal(cont1, boost::make_iterator_range(cont2)) ); in test_equal_impl() 43 … BOOST_CHECK( boost::equal(boost::make_iterator_range(cont1), boost::make_iterator_range(cont2)) ); in test_equal_impl() 44 BOOST_CHECK( boost::equal(cont1, cont2, std::equal_to<int>()) ); in test_equal_impl() 45 … BOOST_CHECK( boost::equal(boost::make_iterator_range(cont1), cont2, std::equal_to<int>()) ); in test_equal_impl() 46 … BOOST_CHECK( boost::equal(cont1, boost::make_iterator_range(cont2), std::equal_to<int>()) ); in test_equal_impl() 47 …BOOST_CHECK( boost::equal(boost::make_iterator_range(cont1), boost::make_iterator_range(cont2), st… in test_equal_impl() 48 BOOST_CHECK( boost::equal(cont1, cont2, std::not_equal_to<int>()) ); in test_equal_impl() 49 … BOOST_CHECK( boost::equal(boost::make_iterator_range(cont1), cont2, std::not_equal_to<int>()) ); in test_equal_impl() [all …]
|
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/ |
D | resolver.js | 11 t.equal(res, path.join(dir, 'foo.js')); 12 t.equal(pkg && pkg.name, 'resolve'); 17 t.equal(res, path.join(dir, 'foo.js')); 18 t.equal(pkg && pkg.name, 'resolve'); 23 t.equal(res, path.join(dir, 'foo.js')); 24 t.equal(pkg && pkg.main, 'resolver'); 29 t.equal(res, path.join(dir, 'foo.js')); 30 t.equal(pkg.main, 'resolver'); 35 t.equal(res, path.join(dir, 'foo.js')); 39 t.equal(err.message, "Cannot find module 'foo' from '" + path.resolve(dir) + "'"); [all …]
|
/third_party/boost/libs/hana/test/numeric/ |
D | main.hpp | 64 BOOST_HANA_CONSTEXPR_CHECK(hana::equal(x, x)); in main() 65 BOOST_HANA_CONSTEXPR_CHECK(hana::not_(hana::equal(x, y))); in main() 76 BOOST_HANA_CONSTEXPR_CHECK(hana::equal( in main() 78 hana::equal(f(x), f(x)) in main() 81 BOOST_HANA_CONSTEXPR_CHECK(hana::equal( in main() 83 hana::equal(f(x), f(y)) in main() 127 BOOST_HANA_CONSTEXPR_CHECK(hana::equal( in main() 130 BOOST_HANA_CONSTEXPR_CHECK(hana::equal( in main() 133 BOOST_HANA_CONSTEXPR_CHECK(hana::equal( in main() 140 BOOST_HANA_CONSTEXPR_CHECK(hana::equal( in main() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/ |
D | parser_test.js | 31 assert.equal(inst.name(), "OpKill"); 32 assert.equal(inst.opcode(), 252); 46 assert.equal(inst.name(), "OpCapability"); 47 assert.equal(inst.opcode(), 17); 51 assert.equal(op.name(), "Shader"); 52 assert.equal(op.type(), "ValueEnum"); 53 assert.equal(op.value(), 1); 66 assert.equal(inst.name(), "OpTypeVoid"); 67 assert.equal(inst.opcode(), 19); 71 assert.equal(op.name(), "void"); [all …]
|
D | lexer_test.js | 26 assert.equal(t.type, TokenType.kOp); 27 assert.equal(t.line, 2); 28 assert.equal(t.data.name, "OpKill"); 31 assert.equal(t.type, TokenType.kEOF); 32 assert.equal(t.line, 3); 43 assert.equal(t.type, TokenType.kOp); 44 assert.equal(t.data.name, "OpKill"); 45 assert.equal(t.line, 2); 48 assert.equal(t.type, TokenType.kResultId); 49 assert.equal(t.data.name, "1"); [all …]
|
D | assembler_test.js | 49 assert.equal(res[0], 0x07230203); 65 assert.equal(res[5], (6 /* word count */ << 16) | 16 /* opcode */); 66 assert.equal(res[6], 1 /* %main */); 67 assert.equal(res[7], 17 /* LocalSize */); 68 assert.equal(res[8], 2); 69 assert.equal(res[9], 3); 70 assert.equal(res[10], 4); 86 assert.equal(res[8], (4 /* word count */ << 16) | 43 /* opcode */); 87 assert.equal(res[9], 1 /* %float */); 88 assert.equal(res[10], 2 /* %float */); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/ |
D | parser_test.js | 31 assert.equal(inst.name(), "OpKill"); 32 assert.equal(inst.opcode(), 252); 46 assert.equal(inst.name(), "OpCapability"); 47 assert.equal(inst.opcode(), 17); 51 assert.equal(op.name(), "Shader"); 52 assert.equal(op.type(), "ValueEnum"); 53 assert.equal(op.value(), 1); 66 assert.equal(inst.name(), "OpTypeVoid"); 67 assert.equal(inst.opcode(), 19); 71 assert.equal(op.name(), "void"); [all …]
|
D | lexer_test.js | 26 assert.equal(t.type, TokenType.kOp); 27 assert.equal(t.line, 2); 28 assert.equal(t.data.name, "OpKill"); 31 assert.equal(t.type, TokenType.kEOF); 32 assert.equal(t.line, 3); 43 assert.equal(t.type, TokenType.kOp); 44 assert.equal(t.data.name, "OpKill"); 45 assert.equal(t.line, 2); 48 assert.equal(t.type, TokenType.kResultId); 49 assert.equal(t.data.name, "1"); [all …]
|
/third_party/spirv-tools/tools/sva/src/ |
D | parser_test.js | 31 assert.equal(inst.name(), "OpKill"); 32 assert.equal(inst.opcode(), 252); 46 assert.equal(inst.name(), "OpCapability"); 47 assert.equal(inst.opcode(), 17); 51 assert.equal(op.name(), "Shader"); 52 assert.equal(op.type(), "ValueEnum"); 53 assert.equal(op.value(), 1); 66 assert.equal(inst.name(), "OpTypeVoid"); 67 assert.equal(inst.opcode(), 19); 71 assert.equal(op.name(), "void"); [all …]
|
D | lexer_test.js | 26 assert.equal(t.type, TokenType.kOp); 27 assert.equal(t.line, 2); 28 assert.equal(t.data.name, "OpKill"); 31 assert.equal(t.type, TokenType.kEOF); 32 assert.equal(t.line, 3); 43 assert.equal(t.type, TokenType.kOp); 44 assert.equal(t.data.name, "OpKill"); 45 assert.equal(t.line, 2); 48 assert.equal(t.type, TokenType.kResultId); 49 assert.equal(t.data.name, "1"); [all …]
|
/third_party/boost/libs/hana/test/ |
D | functional.cpp | 40 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 43 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 46 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 49 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 52 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 70 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 74 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 78 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 86 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 90 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() [all …]
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_autoexpand.py | 52 equal = self.assertEqual 54 equal(previous(), '') 57 equal(previous(), 't') 60 equal(previous(), 'this') 63 equal(previous(), '') 66 equal(previous(), 'is') 69 equal(previous(), 'string') 72 equal(previous(), '') 75 equal(previous(), '') 80 equal = self.assertEqual [all …]
|
/third_party/mindspore/mindspore/ops/composite/multitype_ops/ |
D | equal_impl.py | 22 equal = base.MultitypeFuncGraph("equal", True) variable 29 @equal.register("Bool", "Bool") 44 @equal.register("Number", "Number") 59 @equal.register("mstype", "mstype") 74 @equal.register("String", "String") 89 @equal.register("String", "None") 104 @equal.register("None", "String") 119 @equal.register("None", "None") 134 @equal.register("Number", "None") 149 @equal.register("None", "Number") [all …]
|
/third_party/boost/libs/hana/test/ext/std/integer_sequence/ |
D | find_if.cpp | 22 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 24 hana::equal.to(undefined{})), in main() 28 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 30 hana::equal.to(std::integral_constant<std::size_t, 0>{})), in main() 33 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 35 hana::equal.to(std::integral_constant<std::size_t, 1>{})), in main() 39 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 41 hana::equal.to(std::integral_constant<std::size_t, 0>{})), in main() 44 BOOST_HANA_CONSTANT_CHECK(hana::equal( in main() 46 hana::equal.to(std::integral_constant<std::size_t, 1>{})), in main() [all …]
|
/third_party/boost/libs/hana/test/_include/auto/ |
D | span.hpp | 24 BOOST_HANA_CONSTANT_CHECK(hana::equal( in __anonf46c5f490102() 25 hana::span(MAKE_TUPLE(), hana::equal.to(z)), in __anonf46c5f490102() 29 BOOST_HANA_CONSTANT_CHECK(hana::equal( in __anonf46c5f490102() 30 hana::span(MAKE_TUPLE(ct_eq<0>{}), hana::equal.to(z)), in __anonf46c5f490102() 33 BOOST_HANA_CONSTANT_CHECK(hana::equal( in __anonf46c5f490102() 34 hana::span(MAKE_TUPLE(z), hana::equal.to(z)), in __anonf46c5f490102() 38 BOOST_HANA_CONSTANT_CHECK(hana::equal( in __anonf46c5f490102() 39 hana::span(MAKE_TUPLE(ct_eq<0>{}, z), hana::equal.to(z)), in __anonf46c5f490102() 42 BOOST_HANA_CONSTANT_CHECK(hana::equal( in __anonf46c5f490102() 43 hana::span(MAKE_TUPLE(z, ct_eq<0>{}), hana::equal.to(z)), in __anonf46c5f490102() [all …]
|
/third_party/boost/tools/build/test/core-language/ |
D | test.jam | 19 rule check-equal ( id : values * : expected * ) 45 check-equal $(id) : $(order) : $(expected) ; 71 check-equal var-product : $(v1)$(v2) : 14 15 16 24 25 26 34 35 36 ; 73 check-equal var-set-grist : $(v1:G=grist) : <grist>1 <grist>2 <grist>3 ; 74 check-equal var-set-grist-multi : $(v1:G=$(g)) : <g1>1 <g1>2 <g1>3 <g2>1 <g2>2 <g2>3 ; 76 check-equal var-lower : $(v4:L) : string/with/mixed/case ; 77 check-equal var-upper : $(v4:U) : STRING/WITH/MIXED/CASE ; 78 check-equal var-LU : $(v4:LU) : STRING/WITH/MIXED/CASE ; 79 check-equal var-slashes : $(v5:T) : path/with/backslashes ; 80 check-equal var-grist : $(v6:G) : <grist> ; [all …]
|
/third_party/node/deps/npm/node_modules/es-abstract/test/ |
D | es5.js | 36 …st.equal(ES.ToPrimitive(coercibleObject), coercibleObject.valueOf(), 'coercibleObject coerces to v… 37 …st.equal(ES.ToPrimitive(coercibleObject, Number), coercibleObject.valueOf(), 'coercibleObject with… 38 …st.equal(ES.ToPrimitive(coercibleObject, String), coercibleObject.toString(), 'coercibleObject wit… 39 …st.equal(ES.ToPrimitive(coercibleFnObject), coercibleFnObject.toString(), 'coercibleFnObject coerc… 40 …st.equal(ES.ToPrimitive(toStringOnlyObject), toStringOnlyObject.toString(), 'toStringOnlyObject re… 41 …st.equal(ES.ToPrimitive(valueOfOnlyObject), valueOfOnlyObject.valueOf(), 'valueOfOnlyObject return… 42 st.equal(ES.ToPrimitive({}), '[object Object]', '{} with no hint coerces to Object#toString'); 43 …st.equal(ES.ToPrimitive({}, String), '[object Object]', '{} with hint String coerces to Object#toS… 44 …st.equal(ES.ToPrimitive({}, Number), '[object Object]', '{} with hint Number coerces to Object#toS… 54 t.equal(false, ES.ToBoolean(undefined), 'undefined coerces to false'); [all …]
|