title: Pythagorean Quadruple
signature: def pythagorean_quadruple(a, b, c, d):
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;
  }
question_info.test_code: import array
  import bisect
  import collections
  import datetime
  import functools
  import heapq
  import itertools
  import math
  import queue
  import re
  import string
  import sys
  from typing import Any, Dict, List, Optional, Set
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  def validate_solution(actual, expected):
      return actual == expected
  
  def driver(a, b, c, d, expected):
      try:
          if validate_solution(PLACEHOLDER_FN_NAME(
              a, b, c, d),
              expected
          ):
              return "PASSED"
          return "FAILED"
      except Exception as exception_obj:
          return type(exception_obj).__name__
      
  if __name__ == "__main__":
      result = driver(1, 1, 1, 3, False)
      print(f"TEST-0...{result}")
  
      result = driver(3, 2, 5, 38, False)
      print(f"TEST-1...{result}")
  
      result = driver(0, 0, 0, 0, True)
      print(f"TEST-2...{result}")
  
      result = driver(-1, -1, -1, 1, False)
      print(f"TEST-3...{result}")
  
      result = driver(82, 79, 6, 59, False)
      print(f"TEST-4...{result}")
  
      result = driver(14, 57, 35, 29, False)
      print(f"TEST-5...{result}")
  
      result = driver(6, 96, 45, 75, False)
      print(f"TEST-6...{result}")
  
      result = driver(13, 7, 3, 63, False)
      print(f"TEST-7...{result}")
  
      result = driver(96, 65, 72, 93, False)
      print(f"TEST-8...{result}")
  
      result = driver(70, 33, 6, 2, False)
      print(f"TEST-9...{result}")
  
      sys.exit(0)
question_info.test_case_ids: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
question_info.entry_fn_name: pythagorean_quadruple
question_info.test_list: [{"idx": 0, "outputs": false, "inputs": {"a": 1, "b": 1, "c": 1, "d": 3}}, {"idx": 1, "outputs": false, "inputs": {"a": 3, "b": 2, "c": 5, "d": 38}}, {"idx": 2, "outputs": true, "inputs": {"a": 0, "b": 0, "c": 0, "d": 0}}, {"idx": 3, "outputs": false, "inputs": {"a": -1, "b": -1, "c": -1, "d": 1}}, {"idx": 4, "outputs": false, "inputs": {"a": 82, "b": 79, "c": 6, "d": 59}}, {"idx": 5, "outputs": false, "inputs": {"a": 14, "b": 57, "c": 35, "d": 29}}, {"idx": 6, "outputs": false, "inputs": {"a": 6, "b": 96, "c": 45, "d": 75}}, {"idx": 7, "outputs": false, "inputs": {"a": 13, "b": 7, "c": 3, "d": 63}}, {"idx": 8, "outputs": false, "inputs": {"a": 96, "b": 65, "c": 72, "d": 93}}, {"idx": 9, "outputs": false, "inputs": {"a": 70, "b": 33, "c": 6, "d": 2}}]
question_info.entry_cls_name: Solution