title: Program Circumference Parallelogram
signature: function programCircumferenceParallelogram(a: number, b: number): number {
test_code: 
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function convertToString(value: any): string{
      return JSON.stringify(value, function (key, val) {
          if (val instanceof Set) {
              return Array.from(val);
          } return val;});
  }
  
  function validateSolution(actual: number, expected: number): boolean {
      return Math.abs(actual - expected) < 1e-09;
  }
  
  function driver(a: number, b: number, expected:number): string {
      try{
          if (validateSolution(PLACEHOLDER_FN_NAME(a, b),expected)){
              return "PASSED";
          }
          return "FAILED";
      } catch (error) {
        return error.name;
      }
      
  }
      
  function main(){
    let result = '';
    result = driver(801.0366882228715, 456.71190645582783, 2515.4971893573984);
    console.log(`TEST-0...${result}`);
  
    result = driver(-7069.610056819919, -4226.483870778477, -22592.18785519679);
    console.log(`TEST-1...${result}`);
  
    result = driver(7723.966966568705, 5894.65405158763, 27237.242036312673);
    console.log(`TEST-2...${result}`);
  
    result = driver(-7935.859205856963, -5333.225064296693, -26538.168540307313);
    console.log(`TEST-3...${result}`);
  
    result = driver(6094.247432557289, 1660.420120702062, 15509.335106518702);
    console.log(`TEST-4...${result}`);
  
    result = driver(-7371.490363309265, -1095.4543576847332, -16933.889441987998);
    console.log(`TEST-5...${result}`);
  
    result = driver(8368.473889617526, 4735.838330834498, 26208.62444090405);
    console.log(`TEST-6...${result}`);
  
    result = driver(-3761.921143166053, -5315.871691690649, -18155.585669713404);
    console.log(`TEST-7...${result}`);
  
    result = driver(3139.1089185587884, 6490.194159517967, 19258.60615615351);
    console.log(`TEST-8...${result}`);
  
    result = driver(-5218.286665567171, -8265.153014320813, -26966.87935977597);
    console.log(`TEST-9...${result}`);
  
  };
  
  main();
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 ) );
  }