public void GetRandomArray_FirstMethod_NormalCount(int count)
        {
            var result = RandomArrayGenerator.GetRandomArray1(count);
            var sum    = result.Sum();

            Assert.IsFalse(sum > 1 || sum < 1);
        }
        public void GetRandomArray_FirstMethod_CheckAllElements(int count)
        {
            var result = RandomArrayGenerator.GetRandomArray1(count);

            foreach (var number in result)
            {
                Assert.IsTrue(number > 0 || number < 1);
            }
        }
 public void GetRandomArray_FirstMethod_InvalidCount_ArgumentException(int count)
 {
     Assert.Catch <ArgumentException>(() => RandomArrayGenerator.GetRandomArray1(count));
 }