Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Common / SizeTest.php
index 9829b266d347de3f9dd220d11c7d0bda1c97d5df..1ff31b951bb07d3f7dd28ea89c9f90f67c5d1902 100644 (file)
@@ -31,10 +31,14 @@ class SizeTest extends KernelTestBase {
     ];
     $this->roundedTestCases = [
       '2 bytes' => 2,
-      '1 MB' => ($kb * $kb) - 1, // rounded to 1 MB (not 1000 or 1024 kilobyte!)
-      round(3623651 / ($this->exactTestCases['1 MB']), 2) . ' MB' => 3623651, // megabytes
-      round(67234178751368124 / ($this->exactTestCases['1 PB']), 2) . ' PB' => 67234178751368124, // petabytes
-      round(235346823821125814962843827 / ($this->exactTestCases['1 YB']), 2) . ' YB' => 235346823821125814962843827, // yottabytes
+      // Rounded to 1 MB (not 1000 or 1024 kilobyte!).
+      '1 MB' => ($kb * $kb) - 1,
+      // Megabytes.
+      round(3623651 / ($this->exactTestCases['1 MB']), 2) . ' MB' => 3623651,
+      // Petabytes.
+      round(67234178751368124 / ($this->exactTestCases['1 PB']), 2) . ' PB' => 67234178751368124,
+      // Yottabytes.
+      round(235346823821125814962843827 / ($this->exactTestCases['1 YB']), 2) . ' YB' => 235346823821125814962843827,
     ];
   }