public void NbtParser_ParseListShouldFail_BecauseInvalidListItem() { // Arrange IStringReader reader = new StringReader("[1, 3L]"); // Act ReadResults readResults = NbtReader.ReadArray(reader, out _); // Assert Assert.IsFalse(readResults.Successful); }
public void NbtParser_ParseArrayShouldFail_BecauseInvalidArrayType() { // Arrange IStringReader reader = new StringReader("[M; 1, 2, 3]"); // Act ReadResults readResults = NbtReader.ReadArray(reader, out _); // Assert Assert.IsFalse(readResults.Successful); }