7 #include "gtest/gtest.h"
13 EXPECT_EQ(range.
base(),
size_t(0));
14 EXPECT_EQ(range.
extent(),
size_t(0));
15 EXPECT_EQ(range.
start(),
size_t(0));
16 EXPECT_EQ(range.
end(),
size_t(0));
17 EXPECT_EQ(range.
length(),
size_t(0));
18 EXPECT_EQ(range.
position(),
size_t(0));
24 EXPECT_EQ(range.
base(),
size_t(3));
25 EXPECT_EQ(range.
extent(),
size_t(3));
26 EXPECT_EQ(range.
start(),
size_t(3));
27 EXPECT_EQ(range.
end(),
size_t(3));
28 EXPECT_EQ(range.
length(),
size_t(0));
29 EXPECT_EQ(range.
position(),
size_t(3));
35 EXPECT_EQ(range.
base(),
size_t(3));
36 EXPECT_EQ(range.
extent(),
size_t(7));
37 EXPECT_EQ(range.
start(),
size_t(3));
38 EXPECT_EQ(range.
end(),
size_t(7));
39 EXPECT_EQ(range.
length(),
size_t(4));
45 EXPECT_EQ(range.
base(),
size_t(7));
46 EXPECT_EQ(range.
extent(),
size_t(3));
47 EXPECT_EQ(range.
start(),
size_t(3));
48 EXPECT_EQ(range.
end(),
size_t(7));
49 EXPECT_EQ(range.
length(),
size_t(4));
56 EXPECT_EQ(range.
base(),
size_t(4));
57 EXPECT_EQ(range.
extent(),
size_t(7));
63 EXPECT_EQ(range.
base(),
size_t(5));
64 EXPECT_EQ(range.
extent(),
size_t(3));
70 EXPECT_EQ(range.
base(),
size_t(3));
71 EXPECT_EQ(range.
extent(),
size_t(6));
77 EXPECT_EQ(range.
base(),
size_t(7));
78 EXPECT_EQ(range.
extent(),
size_t(4));
84 EXPECT_EQ(range.
base(),
size_t(5));
85 EXPECT_EQ(range.
extent(),
size_t(7));
91 EXPECT_EQ(range.
base(),
size_t(7));
92 EXPECT_EQ(range.
extent(),
size_t(5));
98 EXPECT_EQ(range.
base(),
size_t(3));
99 EXPECT_EQ(range.
extent(),
size_t(6));
105 EXPECT_EQ(range.
base(),
size_t(5));
106 EXPECT_EQ(range.
extent(),
size_t(3));