예제 #1
0
        public void HashConcurrent()
        {
            var gen = FibonacciGenerator.BuildGenerator(Type.ConcurrentHash);

            Assert.AreEqual(Result, gen.FibFromCache(N));
        }
예제 #2
0
        public void Sorted()
        {
            var gen = FibonacciGenerator.BuildGenerator(Type.Sorted);

            Assert.AreEqual(Result, gen.FibFromCache(N));
        }