예제 #1
0
        public void Get_Power_Reading_Outside_Tolerance_FromValid_Files_Then_Returns_List()
        {
            var touList   = _fileService.GetReadingsFromFiles(touTestFile);
            var touResult = _fileService.GetReadingsOutsideMedianLevel(touList, 20);

            var lpList   = _fileService.GetReadingsFromFiles(lpTestFile);
            var lpResult = _fileService.GetReadingsOutsideMedianLevel(lpList, 20);


            Assert.IsNotNull(touResult);
            Assert.IsTrue(touResult.Any());
            Assert.IsNotNull(lpResult);
            Assert.IsTrue(lpResult.Any());
        }