Skip to content

Commit

Permalink
Try alternative path concatenation
Browse files Browse the repository at this point in the history
EmilDohne committed Mar 8, 2024
1 parent 9551b3f commit 9774567
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions PhotoshopTest/src/TestDecompression/TestRLEDecompression.cpp
Original file line number Diff line number Diff line change
@@ -41,14 +41,12 @@ TEST_CASE("Decompress file with RLE compression")
{
SUBCASE("PSD")
{
std::filesystem::path combined_path = std::filesystem::current_path();
combined_path += "/documents/Compression/Compression_RLE_8bit.psd";
std::filesystem::path combined_path = std::filesystem::current_path() / "documents/Compression/Compression_RLE_8bit.psd";
checkDecompressionFile<uint8_t>(combined_path, 0, 128, 255, 0);
}
SUBCASE("PSB")
{
std::filesystem::path combined_path = std::filesystem::current_path();
combined_path += "/documents/Compression/Compression_RLE_8bit.psb";
std::filesystem::path combined_path = std::filesystem::current_path() / "documents/Compression/Compression_RLE_8bit.psb";
checkDecompressionFile<uint8_t>(combined_path, 0, 128, 255, 0);
}
}

0 comments on commit 9774567

Please sign in to comment.