mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2024-09-16 05:30:09 +00:00
22 lines
573 B
C#
22 lines
573 B
C#
|
using System.Threading.Tasks;
|
||
|
using Newtonsoft.Json;
|
||
|
using Xunit;
|
||
|
using LibMpc;
|
||
|
using System.Linq;
|
||
|
|
||
|
namespace LibMpcTest
|
||
|
{
|
||
|
public partial class LibMpcTest
|
||
|
{
|
||
|
[Fact]
|
||
|
public async Task TagTypesTest()
|
||
|
{
|
||
|
var response = await Mpc.SendAsync(new Commands.Reflection.TagTypes());
|
||
|
|
||
|
TestUtils.WriteLine("TagTypesTest Result:");
|
||
|
TestUtils.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
|
||
|
|
||
|
Assert.True(response.Response.Body.Count().Equals(17));
|
||
|
}
|
||
|
}
|
||
|
}
|