public void PointsFileReaderFormatExceptionFor2WithSpaceParts() { var reader = new PointsFileReader(); Assert.Throws <FormatException>(() => reader.GetAllPoints(@"Data\TestData3.txt")); }
public void PointsFileReaderInvalidDataExceptionFor3Parts() { var reader = new PointsFileReader(); Assert.Throws <InvalidDataException>(() => reader.GetAllPoints(@"Data\TestData2.txt")); }