title: Check Two Given Circles Touch Intersect
signature: check_two_given_circles_touch_intersect <- function(x1, y1, x2, y2, r1, r2) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(x1, y1, x2, y2, r1, r2, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(x1, y1, x2, y2, r1, r2), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          11L, 36L, 62L, 64L, 50L, 4L, 
          -1L
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          87L, 1L, 62L, 64L, 54L, 41L, 
          0L
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          51L, 1L, 47L, 90L, 14L, 71L, 
          -1L
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          89L, 67L, 9L, 52L, 94L, 21L, 
          0L
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          64L, 10L, 79L, 45L, 67L, 78L, 
          0L
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          57L, 86L, 99L, 43L, 83L, 63L, 
          0L
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          65L, 90L, 42L, 82L, 77L, 32L, 
          0L
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          32L, 23L, 28L, 26L, 60L, 45L, 
          0L
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          73L, 61L, 63L, 77L, 92L, 76L, 
          0L
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          3L, 99L, 6L, 19L, 21L, 28L, 
          -1L
      )))
  
  }
  
  main()
source_py: def check_two_given_circles_touch_intersect(x1, y1, x2, y2, r1, r2):
      distSq = (((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2)))
      radSumSq = ((r1 + r2) * (r1 + r2))
      if (distSq == radSumSq):
          return 1
      elif (distSq > radSumSq):
          return (- 1)
      else:
          return 0
source_cpp: int check_two_given_circles_touch_intersect(int x1, int y1, int x2, int y2, int r1, int r2) {
    int distSq = ( x1 - x2 ) * ( x1 - x2 ) + ( y1 - y2 ) * ( y1 - y2 );
    int radSumSq = ( r1 + r2 ) * ( r1 + r2 );
    if ( distSq == radSumSq ) return 1;
    else if ( distSq > radSumSq ) return - 1;
    else return 0;
  }