Recalculate() public method

public Recalculate ( ) : void
return void
Beispiel #1
0
        public void Indexer_Get_AlwaysReturnValidValue(int input, int expected)
        {
            var lut = new PrecalculatedLUT(new MockLUT(-100, 100), -50, 50);
            lut.Recalculate();

            var actual = lut[input];
            Assert.Equal(expected, actual);
        }
Beispiel #2
0
        public void Indexer_Get_AlwaysReturnValidValue(int input, int expected)
        {
            var lut = new PrecalculatedLUT(new MockLUT(-100, 100), -50, 50);

            lut.Recalculate();

            var actual = lut[input];

            Assert.Equal(expected, actual);
        }