public void GetTypes_ThreeType_ExpectsTypesReturnedInList() { Signal <int, string, float> signal = new Signal <int, string, float>(); var actual = signal.GetTypes(); var expected = this.GetThreeExpectedTypes(); Assert.AreEqual(expected, actual); }
public void GetTypes_FourType_ExpectsTypesReturnedInList() { Signal <int, string, float, Signal> signal = new Signal <int, string, float, Signal>(); var actual = signal.GetTypes(); var expected = this.GetThreeExpectedTypes(); expected.Add(typeof(Signal)); Assert.AreEqual(expected, actual); }