MCPcopy Create free account
hub / github.com/darktable-org/rawspeed / TEST_P

Function TEST_P

test/librawspeed/common/NORangesSetTest.cpp:33–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31namespace rawspeed_test {
32
33TEST_P(TwoRangesTest, NORangesSetDataSelfTest) {
34 {
35 NORangesSet<Range<int>> s;
36
37 auto res = s.emplace(r0);
38 ASSERT_TRUE(res.second);
39
40 // can not insert same element twice
41 res = s.emplace(r0);
42 ASSERT_FALSE(res.second);
43 }
44 {
45 NORangesSet<Range<int>> s;
46
47 auto res = s.emplace(r1);
48 ASSERT_TRUE(res.second);
49
50 // can not insert same element twice
51 res = s.emplace(r1);
52 ASSERT_FALSE(res.second);
53 }
54}
55
56TEST_P(TwoRangesTest, NORangesSetDataTest) {
57 {

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected