public void GetSMODETest()
        {
            PolarReader p = new PolarReader();

            p.ReadFile(@"C:\Users\DaveL\Downloads\ASDBExampleCycleComputerData.hrm");

            Assert.IsNotNull(p.Smode);
        }
        public void ReadFileTest()
        {
            PolarReader p = new PolarReader();

            p.ReadFile(@"C:\Users\DaveL\Downloads\ASDBExampleCycleComputerData.hrm");
            HrData hrdata = p.HrDataExtended;

            Assert.IsNotNull(hrdata);
        }
        public void GetIFTest()
        {
            PolarReader p = new PolarReader();

            p.ReadFile(@"C:\Users\DaveL\Downloads\ASDBExampleCycleComputerData.hrm");

            Assert.IsNotNull(p.GetIF(300, 243));
            Assert.IsTrue((((double)300 / 243) * 100) == p.GetIF(300, 243));
        }
        public void GetSummaryDataTimeSpecificedTest()
        {
            PolarReader p = new PolarReader();

            p.ReadFile(@"C:\Users\DaveL\Downloads\ASDBExampleCycleComputerData.hrm");
            DateTime start = new DateTime(2018, 1, 1, 0, 0, 0);
            DateTime end   = new DateTime(2018, 1, 1, 0, 50, 5);

            Assert.IsNotNull(p.GetSummarySpecifiedTime(start, end));
            Assert.IsTrue(p.GetSummarySpecifiedTime(start, end).Count() > 0);
        }