title: Add 1 To A Given Number 1
signature: pub fn add_1_to_a_given_number_1(x: i32) -> i32 {
test_code: use std::collections::HashMap;
  use std::collections::HashSet;
  use std::cmp::*;
  use std::collections::*;
  use std::fmt::*; 
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  pub fn validate_solution(actual: i32, expected: i32)->bool{
  return actual==expected
  }
  pub fn driver(x: i32, expected: i32)->String{
      if validate_solution(PLACEHOLDER_FN_NAME(x), expected) {
        return "PASSED".to_string();
      };
      return "FAILED".to_string();
  
  }
  
  fn main() {
      println!("TEST-0...{}", driver(
        20, 
        21
      ));
      
      println!("TEST-1...{}", driver(
        68, 
        69
      ));
      
      println!("TEST-2...{}", driver(
        52, 
        53
      ));
      
      println!("TEST-3...{}", driver(
        61, 
        62
      ));
      
      println!("TEST-4...{}", driver(
        3, 
        4
      ));
      
      println!("TEST-5...{}", driver(
        88, 
        89
      ));
      
      println!("TEST-6...{}", driver(
        41, 
        42
      ));
      
      println!("TEST-7...{}", driver(
        78, 
        79
      ));
      
      println!("TEST-8...{}", driver(
        94, 
        95
      ));
      
      println!("TEST-9...{}", driver(
        18, 
        19
      ));
      
  }
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 ) );
  }