Exemple #1
0
        public void Has_MultipleItems_ReturnsFalse()
        {
            var storage = new Storage();
              storage.Store(0, 1);
              storage.Store(1, 2);
              storage.Store(2, 3);

              storage.Has(1, 4, 3).Should().Be(false);
        }
Exemple #2
0
        public void Has_MultipleItems_ReturnsTrue()
        {
            var storage = new Storage();
              storage.Store(0, 1);
              storage.Store(1, 2);
              storage.Store(2, 3);

              storage.Has(1,2,3).Should().Be(true);
              storage.FunctionalHas(new List<object>() { 1, 2, 3 }).Should().Be(true);
        }