public void jumpingOnClouds_ShouldReturnExpectedResult(int[] input, int expectedResult)
        {
            var result = JumpingOnClouds.GetTotalSteps(input);

            Assert.AreEqual(expectedResult, result);
        }
        public void IfTotalCloudLessGreaterThan100_ThrowException()
        {
            var input = Enumerable.Range(1, 101).ToArray();

            Assert.Throws <InvalidOperationException>(() => JumpingOnClouds.GetTotalSteps(input));
        }
        public void IfContainsAnyNumbersThatAreNotOneOrZero_ThrowException()
        {
            var input = new[] { 0, 1, -1, 2 };

            Assert.Throws <InvalidOperationException>(() => JumpingOnClouds.GetTotalSteps(input));
        }
        public void IfTotalCloudLessThan2_ThrowException()
        {
            var input = new[] { 0 };

            Assert.Throws <InvalidOperationException>(() => JumpingOnClouds.GetTotalSteps(input));
        }