예제 #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);