Ejemplo n.º 1
0
        public bool IsOddTest02(float value)
        {
            bool result = FloatingPointNumberParityTestingUtility.IsOdd(value);

            return(result);
            // TODO: add assertions to method FloatingPointNumberParityTestingUtilityTests.IsOddTest02(Single)
        }
Ejemplo n.º 2
0
        public bool IsOddTest03(float?value)
        {
            bool result = FloatingPointNumberParityTestingUtility.IsOdd(value);

            return(result);
            // TODO: add assertions to method FloatingPointNumberParityTestingUtilityTests.IsOddTest03(Nullable`1<Single>)
        }
Ejemplo n.º 3
0
        public bool IsEvenTest01(double?value)
        {
            bool result = FloatingPointNumberParityTestingUtility.IsEven(value);

            return(result);
            // TODO: add assertions to method FloatingPointNumberParityTestingUtilityTests.IsEvenTest01(Nullable`1<Double>)
        }
Ejemplo n.º 4
0
 /// <summary>
 ///		Determines whether the <paramref name="value"/> is odd.
 /// </summary>
 /// <param name="value">The <see cref="T:System.Nullable`1"/> of <see cref="T:System.Single"/> to test.</param>
 /// <returns>
 ///		<see langword="true"/> if the <paramref name="value"/> is odd; otherwise, <see langword="false"/>.
 /// </returns>
 public static Boolean IsOdd([CanBeNull] this Single?value)
 {
     return(FloatingPointNumberParityTestingUtility.IsOdd(value));
 }
Ejemplo n.º 5
0
 /// <summary>
 ///		Determines whether the <paramref name="value"/> is odd.
 /// </summary>
 /// <param name="value">The <see cref="T:System.Double"/> to test.</param>
 /// <returns>
 ///		<see langword="true"/> if the <paramref name="value"/> is odd; otherwise, <see langword="false"/>.
 /// </returns>
 public static Boolean IsOdd(this Double value)
 {
     return(FloatingPointNumberParityTestingUtility.IsOdd(value));
 }
Ejemplo n.º 6
0
 /// <summary>
 ///		Determines whether the <paramref name="value"/> is even.
 /// </summary>
 /// <param name="value">The <see cref="T:System.Single"/> to test.</param>
 /// <returns>
 ///		<see langword="true"/> if the <paramref name="value"/> is even; otherwise, <see langword="false"/>.
 /// </returns>
 public static Boolean IsEven(this Single value)
 {
     return(FloatingPointNumberParityTestingUtility.IsEven(value));
 }
Ejemplo n.º 7
0
 /// <summary>
 ///		Determines whether the <paramref name="value"/> is even.
 /// </summary>
 /// <param name="value">The <see cref="T:System.Nullable`1"/> of <see cref="T:System.Double"/> to test.</param>
 /// <returns>
 ///		<see langword="true"/> if the <paramref name="value"/> is even; otherwise, <see langword="false"/>.
 /// </returns>
 public static Boolean IsEven([CanBeNull] this Double?value)
 {
     return(FloatingPointNumberParityTestingUtility.IsEven(value));
 }