using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Invariance;

using NUnit.Framework;
using FluentAssertions;

namespace InvarianceTests
{
    [TestFixture]
    public class DictionaryTests
    {
        [Test]
        public void DictionaryIsInvariant()
        {
            // Próba wykorzystania kowariancji.
            //IDictionary<Supertype, Supertype> supertypeDictionary = new Dictionary<Subtype, Subtype>();
            
            // Próba wykorzystania kontrawariancji.
            //IDictionary<Subtype, Subtype> subtypeDictionary = new Dictionary<Supertype, Supertype>();
        }
    }
}
