public void TestUnCrewedToCold()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.Temperature = 2;
            ad.ProcessData();
            Assert.Equal(59, ad.TempControlBafflePosition);
        }
        public void TestHumidToHigh()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.HumidityLevel = 60;
            ad.ProcessData();
            Assert.Equal(61, ad.TempControlBafflePosition);
        }
        public void TestHumidityWithinAcceptableLowerDeviance()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.HumidityLevel = 35;
            ad.ProcessData();
            Assert.Equal(60, ad.TempControlBafflePosition);
        }
        public void TestTempToHot()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.Temperature = 19.6;
            ad.ProcessData();
            Assert.Equal(61, ad.TempControlBafflePosition);
        }
        public void TestNewTempValueGenerated()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            AtmosphereData newad = new AtmosphereData(ad);

            Assert.NotEqual(newad.Temperature, ad.Temperature);
        }
        public void TestTempWithinAcceptableLowerDeviance()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.Temperature = 18.5;
            ad.ProcessData();
            Assert.Equal(60, ad.TempControlBafflePosition);
        }
        public void TestSeperatorOffWhileUncrewed()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            AtmosphereData newad = new AtmosphereData(ad);

            Assert.Equal(0, newad.SeperatorSpeed);
        }
        public void TestLiquidInOutflow()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.LiquidInOutflow = true;
            ad.ProcessData();
            Assert.Equal(DiverterValvePositions.Reprocess, ad.ReprocessBafflePosition);
        }
        public void TestCrewedToDry()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.HumidityLevel = 34;
            ad.ProcessData();
            Assert.Equal(59, ad.TempControlBafflePosition);
        }
        public void TestMaxedTempControlBaffle()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.TempControlBafflePosition = 100;
            ad.Temperature = 19.6;
            ad.ProcessData();
            Assert.Equal(100, ad.TempControlBafflePosition);
        }
        public void TestSeperatorOnWhileCrewed()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.CabinStatus = Modes.Crewed;
            AtmosphereData newad = new AtmosphereData(ad);

            newad.SeperatorSpeed.Should().BeGreaterThan(1000);
        }
        public void TestLiquidInOutflowCleared()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.ReprocessBafflePosition = DiverterValvePositions.Reprocess;
            ad.LiquidInOutflow         = false;
            ad.ProcessData();
            Assert.Equal(DiverterValvePositions.Accept, ad.ReprocessBafflePosition);
        }
        public void TestCrewedToCold()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.CabinStatus = Modes.Crewed;
            ad.Temperature = 15;
            ad.ProcessData();
            Assert.Equal(59, ad.TempControlBafflePosition);
        }
        public void TestZeroedTempControlBaffle()
        {
            AtmosphereData ad = new AtmosphereData();

            ad.SeedData();
            ad.TempControlBafflePosition = 0;
            ad.Temperature = 18.4;
            ad.ProcessData();
            Assert.Equal(0, ad.TempControlBafflePosition);
        }