Example #1
0
        public static void SumFromFileVx2_Tests()
        {
            var ret = SumFromFileDataFlow.SumVx2FromFile(_smallFile, 15);

            Assert.AreEqual(_smallFileSum, ret);
            ret = SumFromFileDataFlow.SumVx2FromFile(_file1K);
            Assert.AreEqual(_file1KSum, ret);
        }
Example #2
0
        //public ulong SumFromFileDataFlowV1() => SumFromFileDataFlow.SumV5FromFile(_fileMap[Data]);

        //[Benchmark]
        //public ulong SumFromFileDataFlowV2() => SumFromFileDataFlow.SumV6FromFile(_fileMap[Data]);

        //[Benchmark]
        public ulong SumFromFileDataFlowVx2() => SumFromFileDataFlow.SumVx2FromFile(_fileMap[_data], BufferSize);