1
0
mirror of https://github.com/ZetaKebab/MpcNET.git synced 2025-07-02 09:07:38 +00:00

Use only one Client and one Server for all Tests. Output tests.

This commit is contained in:
glucaci
2016-12-20 10:46:40 +01:00
parent 8c3dbecd71
commit 918dc5141a
7 changed files with 164 additions and 79 deletions

View File

@ -0,0 +1,22 @@
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));
}
}
}