Ejemplo n.º 1
0
        public void Lookup_SingleElementAdded_ReturnsTrue(OUR_SetElement <TestType> value)
        {
            _orSetService.Merge(new List <OUR_SetElement <TestType> > {
                value
            }.ToImmutableHashSet(), ImmutableHashSet <OUR_SetElement <TestType> > .Empty);

            var lookup = _orSetService.Lookup(value.Value);

            Assert.True(lookup);
        }
Ejemplo n.º 2
0
        public void Lookup_SingleElementAdded_ReturnsTrue(TestType value, Guid tag, long timestamp)
        {
            _ourSetService.DownstreamAdd(value, tag, timestamp);

            var lookup = _ourSetService.Lookup(value);

            Assert.True(lookup);
        }