AttributeMatcherTest.cs (23)
10private static readonly Func<Mode, Mode, int> Compare = (a, b) => a - b;
20new ModeAttributes<Mode>(Mode.A, modeAttributes)
30Mode result;
43new ModeAttributes<Mode>(Mode.A, new[] { "a-required-attributes" }),
44new ModeAttributes<Mode>(Mode.B, new[] { "first-attr", "second-attr" }),
45new ModeAttributes<Mode>(Mode.C, new[] { "first-attr", "third-attr" }),
56Mode result;
61Assert.Equal(Mode.B, result);
70new ModeAttributes<Mode>(Mode.A, new[] { "first-attr" }),
71new ModeAttributes<Mode>(Mode.B, new[] { "first-attr", "second-attr" }),
72new ModeAttributes<Mode>(Mode.D, new[] { "second-attr", "third-attr" }),
73new ModeAttributes<Mode>(Mode.C, new[] { "first-attr", "second-attr", "third-attr" }),
85Mode result;
90Assert.Equal(Mode.D, result);