From: Christian Femers Date: Mon, 16 Sep 2019 01:15:26 +0000 (+0200) Subject: Shortened the memory test a bit because it was longer than necessary X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=be391655605fed71095d1ac7dafb8c4d6f06312d;p=Mograsim.git Shortened the memory test a bit because it was longer than necessary --- 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); } }