Beispiel #1
0
        public void InstanceMultipleTags(int count)
        {
            var tags = new int[count];

            for (int i = 0; i < count; i++)
            {
                tags[i] = i;
            }

            Assert.DoesNotThrow(() => _avroSchema.AddTags(tags.ToDictionary(k => $"Key{k}", v => (object)$"Value{v}")));
            Assert.AreEqual(count, _avroSchema.Tags.Count);
        }