public void Halton1D_GetDoubles_Test() { var haltonSeq = new HaltonSequence1D(); foreach (var tuple in haltonSeq.GetDoubles().Zip(_seqBase2, Tuple.Create)) { Assert.AreEqual(tuple.Item1, tuple.Item2); } }
public void Halton1D_First_Numbers_Test() { var haltonSeq = new HaltonSequence1D(); foreach (var tuple in haltonSeq.GetSequence().Zip(_seqBase2, Tuple.Create)) { Assert.AreEqual(tuple.Item1[0], tuple.Item2); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HaltonSequence1D obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }