#include <cmath>
#include "src/execution/isolate.h"
#include "src/heap/factory.h"
#include "src/numbers/conversions.h"
#include "src/objects/bigint.h"
#include "src/objects/objects-inl.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
using BigIntWithIsolate = TestWithIsolate;
void Compare(DirectHandle<BigInt> x, double value, ComparisonResult expected) { … }
Handle<BigInt> NewFromInt(Isolate* isolate, int value) { … }
TEST_F(BigIntWithIsolate, CompareToDouble) { … }
}
}