Shortened the memory test a bit because it was longer than necessary
authorChristian Femers <femers@in.tum.de>
Mon, 16 Sep 2019 01:15:26 +0000 (03:15 +0200)
committerChristian Femers <femers@in.tum.de>
Mon, 16 Sep 2019 01:15:26 +0000 (03:15 +0200)
net.mograsim.machine/test/net/mograsim/machine/standard/memory/WordAddressableMemoryTest.java

index 9571e93..ae8e815 100644 (file)
@@ -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);
        }
 }