// Copyright 2017 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "testing/range_set.h" #include <algorithm> #include "core/fxcrt/check.h" #include "core/fxcrt/fx_system.h" RangeSet::RangeSet() = default; RangeSet::~RangeSet() = default; bool RangeSet::Contains(const Range& range) const { … } void RangeSet::Union(const Range& range) { … } void RangeSet::Union(const RangeSet& range_set) { … } RangeSet::Range RangeSet::FixDirection(const Range& range) const { … } bool RangeSet::IsEmptyRange(const Range& range) const { … }