MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / TEST_F

Function TEST_F

tests/test_selection_rasterization_ops.cpp:166–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164};
165
166TEST_F(SelectionRasterizationOpsTest, ReplaceClearsActiveGroupAndPreservesLockedGroups) {
167 const auto result = run_group_apply(
168 {1, 0, 0, 1, 1},
169 {1, 1, 2, 2, 0},
170 1,
171 {2},
172 true,
173 true);
174
175 EXPECT_EQ(result, (std::vector<uint8_t>{1, 0, 2, 2, 1}));
176}
177
178TEST_F(SelectionRasterizationOpsTest, AddRespectsNodeMask) {
179 const std::vector<int> transform_indices = {0, 1, 0, 1};

Callers

nothing calls this directly

Calls 7

run_group_applyFunction · 0.85
run_indexed_group_applyFunction · 0.85
make_float32_valuesFunction · 0.85
make_int32_valuesFunction · 0.85
to_vector_boolMethod · 0.80
make_bool_maskFunction · 0.70
cpuMethod · 0.45

Tested by

no test coverage detected