Tests: add PLY import test coverage for #107299

This commit is contained in:
Aras Pranckevicius 2023-05-31 10:01:42 +03:00
parent 86b54a3015
commit 3672f9c437

@ -147,6 +147,22 @@ TEST_F(ply_import_test, PlyImportColorNotFull)
import_and_check("color_not_full_b.ply", expect);
}
TEST_F(ply_import_test, PlyImportCustomDataElements)
{
Expectation expect = {600,
0,
0,
0,
0,
0,
float3(-0.78193f, 0.40659f, -1),
float3(-0.75537f, 1, -0.24777f),
float3(0, 0, 0),
float2(0, 0),
float4(0.31373f, 0, 0, 1)};
import_and_check("custom_data_elements.ply", expect);
}
TEST_F(ply_import_test, PlyImportDoubleXYZ)
{
Expectation expect = {4,