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