コード例 #1
0
        public void CanUseContains()
        {
            var map = new Map2D <float>();

            map[1, 2] = 4.0f;

            Assert.That(map.Contains(4.0f));
            Assert.That(map.Contains(4.0f, new EqualityLambda <float>((a, b) => Math.Abs(a - b) < 0.001)));
        }