title: Double Factorial
signature: function double_factorial(n)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return actual == expected
  end
  
  function driver(n, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(n), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(15, 2027025);
      @printf("TEST-0...%s\n",result);
      
      result = driver(21, 13749310575);
      @printf("TEST-1...%s\n",result);
      
  end
  
  main()
source_py: def double_factorial(n):
      if ((n == 0) or (n == 1)):
          return 1
      return (n * double_factorial((n - 2)))
source_cpp: unsigned int double_factorial(unsigned int n) {
    if ( n == 0 || n == 1 ) return 1;
    return n * double_factorial ( n - 2 );
  }