public void GivenAWidthOfSix_WhenTheIndexIsRetrieved_ItShouldReturnTheIndexOfTheArray()
        {
            TwoDimensionalIndexCalculator indexCalculator = new TwoDimensionalIndexCalculator();

            Assert.AreEqual(11, indexCalculator.GetIndex(6, 5, 1));
        }
Exemple #2
0
 public StrideBasedSlideRetrievalStrategy()
 {
     indexCalculator = new TwoDimensionalIndexCalculator();
 }