// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <set> #include "src/objects/objects-inl.h" #include "src/objects/smi.h" #include "test/cctest/cctest.h" namespace v8 { namespace internal { namespace { void AddSigned(std::set<Tagged<Smi>>* smis, int64_t x) { … } // Uses std::lexicographical_compare twice to convert the result to -1, 0 or 1. int ExpectedCompareResult(Tagged<Smi> a, Tagged<Smi> b) { … } bool Test(Isolate* isolate, Tagged<Smi> a, Tagged<Smi> b) { … } } // namespace TEST(TestSmiLexicographicCompare) { … } } // namespace internal } // namespace v8