Ad
  • Custom User Avatar

    Hi, I am using Ruby and I found the following codes would pass the Test Cases.

    def is_number? a; a.is_a? Fixnum; end

    The Numeric type includes Fixnumb, Float, etc so more Test Case shall be added.

    Ex:
    Test.expect Typer.is_number? 5.0