Ejemplo n.º 1
0
 public void LastIndexOf()
 {
     IndexOfTests.LastIndexOfTest(
         seq => ImmutableList.CreateRange(seq).ToBuilder(),
         (b, v) => b.LastIndexOf(v),
         (b, v, i) => b.LastIndexOf(v, i),
         (b, v, i, c) => b.LastIndexOf(v, i, c),
         (b, v, i, c, eq) => b.LastIndexOf(v, i, c, eq));
 }
Ejemplo n.º 2
0
 public void LastIndexOf()
 {
     IndexOfTests.LastIndexOfTest(
         seq => (ImmutableArray <int> .Builder) this.GetEnumerableOf(seq),
         (b, v) => b.LastIndexOf(v),
         (b, v, i) => b.LastIndexOf(v, i),
         (b, v, i, c) => b.LastIndexOf(v, i, c),
         (b, v, i, c, eq) => b.LastIndexOf(v, i, c, eq));
 }
Ejemplo n.º 3
0
 public void LastIndexOf()
 {
     IndexOfTests.LastIndexOfTest(
         seq => ImmutableList.CreateRange(seq),
         (b, v) => b.LastIndexOf(v),
         (b, v, i) => b.LastIndexOf(v, i),
         (b, v, i, c) => b.LastIndexOf(v, i, c),
         (b, v, i, c, eq) => b.LastIndexOf(v, i, c, eq));
     IndexOfTests.LastIndexOfTest(
         seq => (IImmutableList <int>)ImmutableList.CreateRange(seq),
         (b, v) => b.LastIndexOf(v),
         (b, v, i) => b.LastIndexOf(v, i),
         (b, v, i, c) => b.LastIndexOf(v, i, c),
         (b, v, i, c, eq) => b.LastIndexOf(v, i, c, eq));
 }