示例#1
0
        public void Equals([DisallowNull] Int32[] elements)
        {
            BoundedArray <Int32> val = elements is not null ? new(elements) : null;

            Assert.That(val).Equals(elements);
            BoundedArray <Int32> exp = elements is not null ? new(elements) : null;

            Assert.That(val).Equals(exp);
            BoundedArray <Int32> dval = elements is not null ? new(elements) : null;

            Assert.That(val).Equals(dval);
        }
示例#2
0
 public void Collectathon_BoundedArray() => _ = new BoundedArray <Int32>(32);
示例#3
0
 public void Collectathon_AssociativeBoundedArray() => _ = new BoundedArray <Char, String>(32);