title: Add 1 To A Given Number 1
signature: function add_1_to_a_given_number_1(x)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return actual == expected
  end
  
  function driver(x, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(x), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(20, 21);
      @printf("TEST-0...%s\n",result);
      
      result = driver(68, 69);
      @printf("TEST-1...%s\n",result);
      
      result = driver(52, 53);
      @printf("TEST-2...%s\n",result);
      
      result = driver(61, 62);
      @printf("TEST-3...%s\n",result);
      
      result = driver(3, 4);
      @printf("TEST-4...%s\n",result);
      
      result = driver(88, 89);
      @printf("TEST-5...%s\n",result);
      
      result = driver(41, 42);
      @printf("TEST-6...%s\n",result);
      
      result = driver(78, 79);
      @printf("TEST-7...%s\n",result);
      
      result = driver(94, 95);
      @printf("TEST-8...%s\n",result);
      
      result = driver(18, 19);
      @printf("TEST-9...%s\n",result);
      
  end
  
  main()
source_py: def add_1_to_a_given_number_1(x):
      return (- (~ x))
source_cpp: int add_1_to_a_given_number_1(int x) {
    return ( - ( ~ x ) );
  }