title: Pythagorean Quadruple
signature: def pythagoreanQuadruple(a: Int, b: Int, c: Int, d: Int) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Boolean , expected: Boolean): Boolean = {
      actual.toString == expected.toString
  }
  
  def driver(a: Int, b: Int, c: Int, d: Int, expected: Boolean): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(a, b, c, d),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        1, 1, 1, 3, 
        false    
      )}")   
  
  
      println(s"TEST-1...${driver(
        3, 2, 5, 38, 
        false    
      )}")   
  
  
      println(s"TEST-2...${driver(
        0, 0, 0, 0, 
        true    
      )}")   
  
  
      println(s"TEST-3...${driver(
        -1, -1, -1, 1, 
        false    
      )}")   
  
  
      println(s"TEST-4...${driver(
        82, 79, 6, 59, 
        false    
      )}")   
  
  
      println(s"TEST-5...${driver(
        14, 57, 35, 29, 
        false    
      )}")   
  
  
      println(s"TEST-6...${driver(
        6, 96, 45, 75, 
        false    
      )}")   
  
  
      println(s"TEST-7...${driver(
        13, 7, 3, 63, 
        false    
      )}")   
  
  
      println(s"TEST-8...${driver(
        96, 65, 72, 93, 
        false    
      )}")   
  
  
      println(s"TEST-9...${driver(
        70, 33, 6, 2, 
        false    
      )}")   
  
  }
  
source_py: def pythagorean_quadruple(a, b, c, d):
      sum = (((a * a) + (b * b)) + (c * c))
      if ((d * d) == sum):
          return True
      else:
          return False
source_cpp: bool pythagorean_quadruple(int a, int b, int c, int d) {
    int sum = a * a + b * b + c * c;
    if ( d * d == sum ) return true;
    else return false;
  }