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); }