RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
PointTest.cpp File Reference
#include "adt/Point.h"
#include <algorithm>
#include <iterator>
#include <limits>
#include <ostream>
#include <string>
#include <tuple>
#include <utility>
#include <gtest/gtest.h>
Include dependency graph for PointTest.cpp:

Go to the source code of this file.

Classes

class  rawspeed_test::anonymous_namespace{PointTest.cpp}::PointTest
class  rawspeed_test::anonymous_namespace{PointTest.cpp}::HasPositiveAreaTest
class  rawspeed_test::anonymous_namespace{PointTest.cpp}::AreaTest
class  rawspeed_test::anonymous_namespace{PointTest.cpp}::OperatorsTest
class  rawspeed_test::anonymous_namespace{PointTest.cpp}::SmallestTest
class  pair< T1, T2 >
 STL class. More...

Namespaces

namespace  rawspeed
namespace  rawspeed_test
namespace  rawspeed_test::anonymous_namespace{PointTest.cpp}

Typedefs

using rawspeed_test::anonymous_namespace{PointTest.cpp}::IntPair = pair<int, int>
using rawspeed_test::anonymous_namespace{PointTest.cpp}::Six = std::tuple<IntPair, IntPair, IntPair>
using rawspeed_test::anonymous_namespace{PointTest.cpp}::hasPositiveAreaType = std::tuple<int, int>
using rawspeed_test::anonymous_namespace{PointTest.cpp}::areaType = tuple<IntPair, iPoint2D::area_type>
using rawspeed_test::anonymous_namespace{PointTest.cpp}::operatorsType

Functions

::std::ostream & rawspeed::operator<< (::std::ostream &os, const iPoint2D p)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST (PointTest, Constructor)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST (PointTest, AssignmentConstructor)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST (PointTest, EqualityOperator)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST (PointTest, NonEqualityOperator)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::INSTANTIATE_TEST_SUITE_P (SumTest, PointTest, ::testing::ValuesIn(valueSum))
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, InPlaceAddTest1)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, InPlaceAddTest2)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, AddTest1)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, AddTest2)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, InPlaceSubTest1)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, InPlaceSubTest2)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, SubTest1)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (PointTest, SubTest2)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::INSTANTIATE_TEST_SUITE_P (HasPositiveAreaTest, HasPositiveAreaTest, ::testing::Combine(::testing::Range(-2, 3), ::testing::Range(-2, 3)))
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (HasPositiveAreaTest, HasPositiveAreaTest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::INSTANTIATE_TEST_SUITE_P (AreaTest, AreaTest, ::testing::ValuesIn(valueArea))
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (AreaTest, AreaTest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::INSTANTIATE_TEST_SUITE_P (OperatorsTests, OperatorsTest, ::testing::ValuesIn(operatorsValues))
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (OperatorsTest, OperatorEQTest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (OperatorsTest, OperatorNETest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (OperatorsTest, OperatorLTTest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (OperatorsTest, OperatorGTest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (OperatorsTest, OperatorLETest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (OperatorsTest, OperatorGEest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (OperatorsTest, OperatorsTest)
 rawspeed_test::anonymous_namespace{PointTest.cpp}::INSTANTIATE_TEST_SUITE_P (GetSmallestTest, SmallestTest, ::testing::ValuesIn(smallestValues))
 rawspeed_test::anonymous_namespace{PointTest.cpp}::TEST_P (SmallestTest, GetSmallestTest)

Variables

constexpr iPoint2D::area_type rawspeed_test::anonymous_namespace{PointTest.cpp}::maxVal
constexpr iPoint2D::area_type rawspeed_test::anonymous_namespace{PointTest.cpp}::minVal
constexpr iPoint2D::area_type rawspeed_test::anonymous_namespace{PointTest.cpp}::absMinVal = -minVal
constexpr iPoint2D::area_type rawspeed_test::anonymous_namespace{PointTest.cpp}::maxAreaVal = maxVal * maxVal
constexpr iPoint2D::area_type rawspeed_test::anonymous_namespace{PointTest.cpp}::minAreaVal = absMinVal * absMinVal
constexpr iPoint2D::area_type rawspeed_test::anonymous_namespace{PointTest.cpp}::mixAreaVal = maxVal * absMinVal
const Six rawspeed_test::anonymous_namespace{PointTest.cpp}::valueSum []
const iPoint2D rawspeed_test::anonymous_namespace{PointTest.cpp}::PositiveAreaData []
const areaType rawspeed_test::anonymous_namespace{PointTest.cpp}::valueArea []
const operatorsType rawspeed_test::anonymous_namespace{PointTest.cpp}::operatorsValues []
const Six rawspeed_test::anonymous_namespace{PointTest.cpp}::smallestValues []