Exemple #1
0
        public void Quarter_Way_Between_Current_And_Target_Times_Means_Quarter_Progress()
        {
            var manualProgress = new ManualProgress(
                value: 25,
                weighting: 100
                );

            Assert.That(manualProgress.CalculateProgress(), Is.EqualTo(25));
        }
Exemple #2
0
        public void Half_Way_Between_Current_And_Target_Times_Means_Fifty_Percent_Progress()
        {
            var manualProgress = new ManualProgress(
                value: 50,
                weighting: 100
                );

            Assert.That(manualProgress.CalculateProgress(), Is.EqualTo(50));
        }