Example #1
0
        public void PointsFileReaderFormatExceptionFor2WithSpaceParts()
        {
            var reader = new PointsFileReader();

            Assert.Throws <FormatException>(() => reader.GetAllPoints(@"Data\TestData3.txt"));
        }
Example #2
0
        public void PointsFileReaderInvalidDataExceptionFor3Parts()
        {
            var reader = new PointsFileReader();

            Assert.Throws <InvalidDataException>(() => reader.GetAllPoints(@"Data\TestData2.txt"));
        }