title: Add 1 To A Given Number 1
signature: add_1_to_a_given_number_1 <- function(x) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(x, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(x), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          20L, 
          21L
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          68L, 
          69L
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          52L, 
          53L
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          61L, 
          62L
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          3L, 
          4L
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          88L, 
          89L
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          41L, 
          42L
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          78L, 
          79L
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          94L, 
          95L
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          18L, 
          19L
      )))
  
  }
  
  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 ) );
  }