コード例 #1
0
ファイル: NegotiateTest.cs プロジェクト: o2xli/Fluent.Net
        public void Test(NegotiateTestCase test)
        {
            var actual = Negotiate.NegotiateLanguages(test.RequestedLocales,
                                                      test.AvailableLocales, test.Strategy, test.DefaultLocale);

            actual.Should().BeEquivalentTo(test.Expected,
                                           options => options.WithStrictOrdering());
        }