public void NbtTagArgument_ParseShouldSucceed_WithDifferentType() { // Arrange NbtTagArgument argument = new NbtTagArgument(); IStringReader reader = new StringReader("[1, 2, 3]"); // Act ReadResults readResults = argument.Parse(reader, out _); // Assert Assert.IsTrue(readResults.Successful); }
public void NbtTagArgument_ParseShouldSucceed() { // Arrange NbtTagArgument argument = new NbtTagArgument(); IStringReader reader = new StringReader("{foo: 'bar', baz: 3}"); // Act ReadResults readResults = argument.Parse(reader, out _); // Assert Assert.IsTrue(readResults.Successful); }