public void ConvertToBool_Throws_When_Input_Is_Invalid(string input) { var reader = new VnaAdjListReader(); var ex = Assert.Throws<FormatException>(() => reader.ConvertToBool(input)); }
public void ConvertToBool_Safely_Converts_VNA_Active_Strings_To_Boolean(string input, bool expectedResult) { var reader = new VnaAdjListReader(); var result = reader.ConvertToBool(input); Assert.Equal(expectedResult, result); }