From 00cffc8b6b35f1c8a76168b1cd5a4958a8d997d9 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 5 Jan 2024 15:19:53 -0500 Subject: [PATCH] fixing the benchmark for Robohash --- .../com/vitorpamplona/amethyst/benchmark/RobohashBenchmark.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/RobohashBenchmark.kt b/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/RobohashBenchmark.kt index 67cd6a036..f897740e9 100644 --- a/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/RobohashBenchmark.kt +++ b/benchmark/src/androidTest/java/com/vitorpamplona/amethyst/benchmark/RobohashBenchmark.kt @@ -25,6 +25,7 @@ class RobohashBenchmark { val WarmHex = "f4f016c739b8ec0d6313540a8b12cf48a72b485d38338627ec9d427583551f9a" val TestHex = "48a72b485d38338627ec9d427583551f9af4f016c739b8ec0d6313540a8b12cf" + val ResultingSVG = """""" @Test fun createSVG() { @@ -32,7 +33,7 @@ class RobohashBenchmark { Robohash.assemble(WarmHex, true) benchmarkRule.measureRepeated { val result = Robohash.assemble(TestHex, true) - assertEquals("""""", result) + assertEquals(ResultingSVG, result) } } } \ No newline at end of file