VOXELFORMAT: comment

master
Martin Gerhardy 2022-01-16 22:11:14 +01:00
parent 25bc1d5970
commit 67d9fcfce6
1 changed files with 3 additions and 3 deletions

View File

@ -69,9 +69,9 @@ void AbstractVoxFormatTest::testRGB(RawVolume* volume) {
EXPECT_EQ( 1, volume->voxel(31, 31, 31).getColor());
EXPECT_EQ( 1, volume->voxel( 0, 31, 31).getColor());
EXPECT_EQ( 37, volume->voxel( 9, 0, 4).getColor());
EXPECT_EQ(149, volume->voxel( 9, 0, 12).getColor());
EXPECT_EQ(197, volume->voxel( 9, 0, 19).getColor());
EXPECT_EQ( 37, volume->voxel( 9, 0, 4).getColor()); // red
EXPECT_EQ(149, volume->voxel( 9, 0, 12).getColor()); // green
EXPECT_EQ(197, volume->voxel( 9, 0, 19).getColor()); // blue
}
void AbstractVoxFormatTest::testLoadSaveAndLoad(const core::String& srcFilename, voxel::Format &srcFormat, const core::String& destFilename, voxel::Format &destFormat, bool includingColor, bool includingRegion) {