Example #1
0
 public void MixedValues(int expexted, params int[] a)
 {
     Assert.That(MaximumProduct.AdjacentElementsProduct(a), Is.EqualTo(expexted));
 }
Example #2
0
 public void ContainingZeroes(int expexted, params int[] a)
 {
     Assert.That(MaximumProduct.AdjacentElementsProduct(a), Is.EqualTo(expexted));
 }
Example #3
0
 public void PositiveNumbers(int expexted, params int[] a)
 {
     Assert.That(MaximumProduct.AdjacentElementsProduct(a), Is.EqualTo(expexted));
 }