title: Python Program Find Perimeter Circumference Square Rectangle 1
signature: class Solution {
  
      public Integer pythonProgramFindPerimeterCircumferenceSquareRectangle1(Integer l, Integer w) {
source_py: def python_program_find_perimeter_circumference_square_rectangle_1(l, w):
      return (2 * (l + w))
source_cpp: int python_program_find_perimeter_circumference_square_rectangle_1(int l, int w) {
    return ( 2 * ( l + w ) );
  }
question_info.extension: java
question_info.entry_fn_name: pythonProgramFindPerimeterCircumferenceSquareRectangle1
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": 194, "inputs": {"l": 58, "w": 39}}, {"idx": 1, "outputs": 172, "inputs": {"l": 37, "w": 49}}, {"idx": 2, "outputs": 216, "inputs": {"l": 56, "w": 52}}, {"idx": 3, "outputs": 130, "inputs": {"l": 22, "w": 43}}, {"idx": 4, "outputs": 178, "inputs": {"l": 77, "w": 12}}, {"idx": 5, "outputs": 130, "inputs": {"l": 34, "w": 31}}, {"idx": 6, "outputs": 256, "inputs": {"l": 74, "w": 54}}, {"idx": 7, "outputs": 178, "inputs": {"l": 37, "w": 52}}, {"idx": 8, "outputs": 116, "inputs": {"l": 21, "w": 37}}, {"idx": 9, "outputs": 210, "inputs": {"l": 75, "w": 30}}]
question_info.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer l, Integer w, Integer expected){
          try{
              Driver driver = new Driver();
              if (driver.run(l, w,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(58, 39, 194);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(37, 49, 172);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(56, 52, 216);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(22, 43, 130);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(77, 12, 178);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(34, 31, 130);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(74, 54, 256);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(37, 52, 178);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(21, 37, 116);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(75, 30, 210);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer l, Integer w, Integer expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(l, w),expected);
      }
      
      public boolean validateSolution(Integer actual, Integer expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: java __FILENAME__