public void ArgMinLastAxis() { // arrange var targetData = new int[4]; var srcData = new[] { 4, 2, 7, 1 }; var target = new DataAndLayout <int>(targetData, new FastAccess(new Layout(new int[] { 4 }, 0, new int[] { 1 }))); var src = new DataAndLayout <int>(srcData, new FastAccess(new Layout(new int[] { 4 }, 0, new int[] { 1 }))); // action ScalarOps.ArgMinLastAxis(target, src); // assert Assert.AreEqual(3, targetData[0]); }