japanese-pokemon-cards-sdk-.../JpnCardsPokemon.Tests/Tests/QueryFilterTests.cs

13 lines
354 B
C#
Raw Normal View History

using JpnCardsPokemonSdk.Utils.QueryFilter;
namespace JpnCardsPokemon.Tests.Tests;
public class QueryFilterTests
{
[Test]
public void TestCardQueryFilterBuilder()
{
Assert.That("name=charizard&set_code=s12a",
Is.EqualTo(new CardQueryFilterBuilder { Name = "charizard", SetCode = "s12a" }.BuildQueryString()));
}
}