Class ShouldBeOdd

    • Constructor Detail

      • ShouldBeOdd

        private ShouldBeOdd​(java.lang.Number actual)
    • Method Detail

      • shouldBeOdd

        public static ErrorMessageFactory shouldBeOdd​(java.lang.Number actual)
        Creates a new ShouldBeOdd.
        Parameters:
        actual - the actual value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.