7 #include <gtest/gtest.h>
10 #include "SpecialPixel.h"
24 EXPECT_EQ(180, lon.degrees());
31 EXPECT_EQ(180, lon.degrees());
38 EXPECT_EQ(90, lon.degrees());
45 EXPECT_EQ(450, lon.degrees());
51 EXPECT_EQ(lon.degrees(),
Longitude(lon).degrees());
55 EXPECT_EQ(90, lonCopy.degrees());
63 EXPECT_EQ(90, lon.degrees());
70 EXPECT_EQ(270, lon.degrees());
78 EXPECT_EQ(90, lon.degrees());
97 EXPECT_EQ(450, lon.degrees());
116 EXPECT_EQ(-450, lon.degrees());
131 TEST(
Longitude, GetNegative450DegreesPW) {
135 EXPECT_EQ(810, lon.degrees());
155 EXPECT_EQ(-90, lon.force180Domain().degrees());
158 EXPECT_EQ(270, lon.force360Domain().degrees());
162 EXPECT_EQ(360, lon.force360Domain().degrees());