public void ContentIsNotBooleanLike_ThrowsInvalidCastException() { // Arrange var content = ""; // Act -> Assert Assert.Throws <InvalidCastException>(() => { NecroDancerDataReader.ReadBooleanLike(content); }); }
public void ContentIsFalse_ReturnsFalse() { // Arrange var content = "False"; // Act var booleanLike = NecroDancerDataReader.ReadBooleanLike(content); // Assert Assert.False(booleanLike); }