title: Program Circumference Parallelogram
signature: double programCircumferenceParallelogram(double a, double b) {
test_code: #include <algorithm>
  #include <assert.h>
  #include <cstdlib>
  #include <iostream>
  #include <map>
  #include <set>
  #include <string>
  #include <tuple> 
  #include <unordered_map>
  #include <vector>
  #include <math.h>
  #include <cmath>
  #include <bits/stdc++.h>
  #include <numeric>
  #include <functional>
  
  using namespace std;
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(double actual, double expected){
      return abs(actual - expected) < 1e-09;
  }
  
  string driver(double a, double b, double expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(a, b), expected)){
              return "PASSED";
          }
          return "FAILED";
      }
      catch (const std::overflow_error& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (const std::runtime_error& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (const std::exception& exception_obj)
      {
          return typeid(exception_obj).name();
      }
      catch (...)
      {
          return "UNK_ERROR";
      }
  }
  
  int main() {
      string result = "";
  
      result = driver(801.0366882228715, 456.71190645582783, 2515.4971893573984); 
      cout << "TEST-" << 0 << "..."
           <<  result
           << "\n";
  
      result = driver(-7069.610056819919, -4226.483870778477, -22592.18785519679); 
      cout << "TEST-" << 1 << "..."
           <<  result
           << "\n";
  
      result = driver(7723.966966568705, 5894.65405158763, 27237.242036312673); 
      cout << "TEST-" << 2 << "..."
           <<  result
           << "\n";
  
      result = driver(-7935.859205856963, -5333.225064296693, -26538.168540307313); 
      cout << "TEST-" << 3 << "..."
           <<  result
           << "\n";
  
      result = driver(6094.247432557289, 1660.420120702062, 15509.335106518702); 
      cout << "TEST-" << 4 << "..."
           <<  result
           << "\n";
  
      result = driver(-7371.490363309265, -1095.4543576847332, -16933.889441987998); 
      cout << "TEST-" << 5 << "..."
           <<  result
           << "\n";
  
      result = driver(8368.473889617526, 4735.838330834498, 26208.62444090405); 
      cout << "TEST-" << 6 << "..."
           <<  result
           << "\n";
  
      result = driver(-3761.921143166053, -5315.871691690649, -18155.585669713404); 
      cout << "TEST-" << 7 << "..."
           <<  result
           << "\n";
  
      result = driver(3139.1089185587884, 6490.194159517967, 19258.60615615351); 
      cout << "TEST-" << 8 << "..."
           <<  result
           << "\n";
  
      result = driver(-5218.286665567171, -8265.153014320813, -26966.87935977597); 
      cout << "TEST-" << 9 << "..."
           <<  result
           << "\n";
  
      return 0;
  }
source_py: def program_circumference_parallelogram(a, b):
      return ((2 * a) + (2 * b))
source_cpp: float program_circumference_parallelogram(float a, float b) {
    return ( ( 2 * a ) + ( 2 * b ) );
  }