diff options
| author | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2025-02-11 15:07:35 -0300 |
|---|---|---|
| committer | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2025-02-11 15:07:35 -0300 |
| commit | 4cb8841196d0625dfa3825aa326f071cd27c7b8b (patch) | |
| tree | 1682a647d4463397c119183369ae6f750d5fdcff /src/mongo/db/matcher/expression_leaf_test.cpp | |
| parent | aa03c6362cbaa767638e6eed9b031d86dd2643d1 (diff) | |
| parent | 8f0827553e09872941945a093b647a4211a9db7f (diff) | |
Update upstream source from tag 'upstream/6.0.0'master
Update to upstream version '6.0.0'
with Debian dir 5604a80ec1c96ca76f25f40d78e6ef855abec322
Diffstat (limited to 'src/mongo/db/matcher/expression_leaf_test.cpp')
| -rw-r--r-- | src/mongo/db/matcher/expression_leaf_test.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/mongo/db/matcher/expression_leaf_test.cpp b/src/mongo/db/matcher/expression_leaf_test.cpp index cefae1506b9..99bedfa067f 100644 --- a/src/mongo/db/matcher/expression_leaf_test.cpp +++ b/src/mongo/db/matcher/expression_leaf_test.cpp @@ -1463,15 +1463,6 @@ TEST(BitTestMatchExpression, DoesNotMatchOther) { BSONObj notMatch8 = fromjson("{a: 1e100}"); // Too-Large Double BSONObj notMatch9 = fromjson("{a: ObjectId('000000000000000000000000')}"); // OID BSONObj notMatch10 = fromjson("{a: Date(54)}"); // Date - BSONObj notMatch11 = fromjson("{a: NumberDecimal(\"Infinity\")}"); // Infinity NumberDecimal - BSONObj notMatch12 = - fromjson("{a: NumberDecimal(\"-Infinity\")}"); // Negative infinity NumberDecimal - BSONObj notMatch13 = fromjson("{a: NumberDecimal(\"NaN\")}"); // NaN NumberDecimal - BSONObj notMatch14 = fromjson("{a: NumberDecimal(\"1e100\")}"); // Too-Large NumberDecimal - BSONObj notMatch15 = fromjson("{a: NumberDecimal(\"-1e100\")}"); // Too-Small NumberDecimal - BSONObj notMatch16 = fromjson("{a: NumberDecimal(\"5.5\")}"); // Non-integral NumberDecimal - BSONObj notMatch17 = - fromjson("{a: NumberDecimal(\"-5.5\")}"); // Negative-integral NumberDecimal BitsAllSetMatchExpression balls("a", bitPositions); BitsAllClearMatchExpression ballc("a", bitPositions); @@ -1492,13 +1483,6 @@ TEST(BitTestMatchExpression, DoesNotMatchOther) { ASSERT(!balls.matchesSingleElement(notMatch8["a"])); ASSERT(!balls.matchesSingleElement(notMatch9["a"])); ASSERT(!balls.matchesSingleElement(notMatch10["a"])); - ASSERT(!balls.matchesSingleElement(notMatch11["a"])); - ASSERT(!balls.matchesSingleElement(notMatch12["a"])); - ASSERT(!balls.matchesSingleElement(notMatch13["a"])); - ASSERT(!balls.matchesSingleElement(notMatch14["a"])); - ASSERT(!balls.matchesSingleElement(notMatch15["a"])); - ASSERT(!balls.matchesSingleElement(notMatch16["a"])); - ASSERT(!balls.matchesSingleElement(notMatch17["a"])); ASSERT(!ballc.matchesSingleElement(notMatch1["a"])); ASSERT(!ballc.matchesSingleElement(notMatch2["a"])); ASSERT(!ballc.matchesSingleElement(notMatch3["a"])); @@ -1509,13 +1493,6 @@ TEST(BitTestMatchExpression, DoesNotMatchOther) { ASSERT(!ballc.matchesSingleElement(notMatch8["a"])); ASSERT(!ballc.matchesSingleElement(notMatch9["a"])); ASSERT(!ballc.matchesSingleElement(notMatch10["a"])); - ASSERT(!ballc.matchesSingleElement(notMatch11["a"])); - ASSERT(!ballc.matchesSingleElement(notMatch12["a"])); - ASSERT(!ballc.matchesSingleElement(notMatch13["a"])); - ASSERT(!ballc.matchesSingleElement(notMatch14["a"])); - ASSERT(!ballc.matchesSingleElement(notMatch15["a"])); - ASSERT(!ballc.matchesSingleElement(notMatch16["a"])); - ASSERT(!ballc.matchesSingleElement(notMatch17["a"])); ASSERT(!banys.matchesSingleElement(notMatch1["a"])); ASSERT(!banys.matchesSingleElement(notMatch2["a"])); ASSERT(!banys.matchesSingleElement(notMatch3["a"])); @@ -1526,13 +1503,6 @@ TEST(BitTestMatchExpression, DoesNotMatchOther) { ASSERT(!banys.matchesSingleElement(notMatch8["a"])); ASSERT(!banys.matchesSingleElement(notMatch9["a"])); ASSERT(!banys.matchesSingleElement(notMatch10["a"])); - ASSERT(!banys.matchesSingleElement(notMatch11["a"])); - ASSERT(!banys.matchesSingleElement(notMatch12["a"])); - ASSERT(!banys.matchesSingleElement(notMatch13["a"])); - ASSERT(!banys.matchesSingleElement(notMatch14["a"])); - ASSERT(!banys.matchesSingleElement(notMatch15["a"])); - ASSERT(!banys.matchesSingleElement(notMatch16["a"])); - ASSERT(!banys.matchesSingleElement(notMatch17["a"])); ASSERT(!banyc.matchesSingleElement(notMatch1["a"])); ASSERT(!banyc.matchesSingleElement(notMatch2["a"])); ASSERT(!banyc.matchesSingleElement(notMatch3["a"])); @@ -1543,13 +1513,6 @@ TEST(BitTestMatchExpression, DoesNotMatchOther) { ASSERT(!banyc.matchesSingleElement(notMatch8["a"])); ASSERT(!banyc.matchesSingleElement(notMatch9["a"])); ASSERT(!banyc.matchesSingleElement(notMatch10["a"])); - ASSERT(!banyc.matchesSingleElement(notMatch11["a"])); - ASSERT(!banyc.matchesSingleElement(notMatch12["a"])); - ASSERT(!banyc.matchesSingleElement(notMatch13["a"])); - ASSERT(!banyc.matchesSingleElement(notMatch14["a"])); - ASSERT(!banyc.matchesSingleElement(notMatch15["a"])); - ASSERT(!banyc.matchesSingleElement(notMatch16["a"])); - ASSERT(!banyc.matchesSingleElement(notMatch17["a"])); } TEST(BitTestMatchExpression, MatchBinaryWithLongBitMask) { |
