Skip to content

Commit

Permalink
Update Test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNicker committed Oct 19, 2023
1 parent e9eb7db commit a5efd47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Test/Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ void runTest(FreeType::FreeTypeConnector& freeType, FreeType::TextCreateParams f
FreeTypeConnector::Bitmap textBitmap;
freeType.CreateBitmap(freetypeParams, textBitmap, nullptr);

[[maybe_unused]] auto hash = XXH3_64bits(static_cast<const void*>(textBitmap.buffer.data()), textBitmap.height * textBitmap.rowPitch);
//[[maybe_unused]] auto hash = XXH3_64bits(static_cast<const void*>(textBitmap.buffer.data()), textBitmap.height * textBitmap.rowPitch);

if (testParams.saveToFile)
SaveToFile(textBitmap, testParams.fileName);
//if (testParams.saveToFile)
// SaveToFile(textBitmap, testParams.fileName);

// if (hash != testParams.expectedHash)
// throw std::runtime_error("test failed");
Expand Down

0 comments on commit a5efd47

Please sign in to comment.