File: Matching\LinearSearchJumpTableTest.cs
Web Access
Project: src\src\Http\Routing\test\UnitTests\Microsoft.AspNetCore.Routing.Tests.csproj (Microsoft.AspNetCore.Routing.Tests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Routing.Matching;
 
public class LinearSearchJumpTableTest : MultipleEntryJumpTableTest
{
    internal override JumpTable CreateTable(
        int defaultDestination,
        int existDestination,
        params (string text, int destination)[] entries)
    {
        return new LinearSearchJumpTable(defaultDestination, existDestination, entries);
    }
}