title: Program Circumference Parallelogram
signature: func programCircumferenceParallelogram(a float64, b float64) float64 {
test_code: package main
  
  import (
      "fmt"
      "reflect"
      "math"
      "sort"
  )
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  func validateSolution(actual float64, expected float64) bool {
      return math.Abs(actual - expected) < 1e-09
  }
  
  func driver(a float64, b float64, expected float64) string {
      if validateSolution(PLACEHOLDER_FN_NAME(a, b),expected) {
              return "PASSED"
      }
      return "FAILED"
  
  }
  
  func main() {
  
      // Use imports to avoid undefined errors
      var _ = reflect.DeepEqual
      _ = math.Abs
      _ = sort.Sort
      result := ""
      result = driver(801.0366882228715, 
  	456.71190645582783, 2515.4971893573984)
      fmt.Printf("TEST-0...%s\n", result)
      
      result = driver(-7069.610056819919, 
  	-4226.483870778477, -22592.18785519679)
      fmt.Printf("TEST-1...%s\n", result)
      
      result = driver(7723.966966568705, 
  	5894.65405158763, 27237.242036312673)
      fmt.Printf("TEST-2...%s\n", result)
      
      result = driver(-7935.859205856963, 
  	-5333.225064296693, -26538.168540307313)
      fmt.Printf("TEST-3...%s\n", result)
      
      result = driver(6094.247432557289, 
  	1660.420120702062, 15509.335106518702)
      fmt.Printf("TEST-4...%s\n", result)
      
      result = driver(-7371.490363309265, 
  	-1095.4543576847332, -16933.889441987998)
      fmt.Printf("TEST-5...%s\n", result)
      
      result = driver(8368.473889617526, 
  	4735.838330834498, 26208.62444090405)
      fmt.Printf("TEST-6...%s\n", result)
      
      result = driver(-3761.921143166053, 
  	-5315.871691690649, -18155.585669713404)
      fmt.Printf("TEST-7...%s\n", result)
      
      result = driver(3139.1089185587884, 
  	6490.194159517967, 19258.60615615351)
      fmt.Printf("TEST-8...%s\n", result)
      
      result = driver(-5218.286665567171, 
  	-8265.153014320813, -26966.87935977597)
      fmt.Printf("TEST-9...%s\n", result)
      
          
  }
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 ) );
  }