From be391655605fed71095d1ac7dafb8c4d6f06312d Mon Sep 17 00:00:00 2001 From: Christian Femers Date: Mon, 16 Sep 2019 03:15:26 +0200 Subject: [PATCH] Shortened the memory test a bit because it was longer than necessary --- .../machine/standard/memory/WordAddressableMemoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net.mograsim.machine/test/net/mograsim/machine/standard/memory/WordAddressableMemoryTest.java b/net.mograsim.machine/test/net/mograsim/machine/standard/memory/WordAddressableMemoryTest.java index 9571e93c..ae8e8153 100644 --- a/net.mograsim.machine/test/net/mograsim/machine/standard/memory/WordAddressableMemoryTest.java +++ b/net.mograsim.machine/test/net/mograsim/machine/standard/memory/WordAddressableMemoryTest.java @@ -58,13 +58,13 @@ class WordAddressableMemoryTest dataI.clearSignals(); t.executeAll(); - assertEquals(dataI.getValues(), vector, "seed=" + seed + ", j=" + j + ", i=" + i); + assertEquals(vector, dataI.getValues(), "seed=" + seed + ", j=" + j + ", i=" + i); } } } public static LongStream seedsForRandom() { - return LongStream.range(0, 100); + return LongStream.range(0, 20); } } -- 2.17.1