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

13 lines
349 B
C#
Raw Normal View History

2023-03-01 22:06:38 +01:00
using JpnCardsPokemon.Sdk.Utils.QueryFilter;
2023-03-01 22:06:38 +01:00
namespace JpnCardsPokemon.Tests;
public class QueryFilterTests
{
[Test]
public void TestCardQueryFilterBuilder()
{
Assert.That("name=charizard&set_code=s12a",
Is.EqualTo(new CardQueryFilterBuilder { Name = "charizard", SetCode = "s12a" }.BuildQueryString()));
}
}