src: add a famous quote

This commit is contained in:
Markus F.X.J. Oberhumer
2023-08-22 00:37:45 +02:00
parent dd1838a7eb
commit 6eace187e7
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -321,6 +321,7 @@ TEST_CASE("MemBuffer::getSizeForCompression") {
CHECK(MemBuffer::getSizeForCompression(1024 * 1024) == 1180160); // 0x00100000
CHECK(MemBuffer::getSizeForCompression(64 * 1024 * 1024) == 75497984); // 0x04000000
CHECK(MemBuffer::getSizeForCompression(512 * 1024 * 1024) == 603980288); // 0x20000000
// "640 MiB Ought to be Enough for Anyone" --Markus F.X.J. Oberhumer, 1981 ;-)
CHECK(MemBuffer::getSizeForCompression(640 * 1024 * 1024) == 754975232); // 0x28000000
}