title: Find Perimeter Cylinder
signature: class Solution {
  
      public Integer findPerimeterCylinder(Integer diameter, Integer height) {
source_py: def find_perimeter_cylinder(diameter, height):
      return (2 * (diameter + height))
source_cpp: int find_perimeter_cylinder(int diameter, int height) {
    return 2 * ( diameter + height );
  }
question_info.extension: java
question_info.entry_fn_name: findPerimeterCylinder
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": 296, "inputs": {"diameter": 70, "height": 78}}, {"idx": 1, "outputs": 286, "inputs": {"diameter": 97, "height": 46}}, {"idx": 2, "outputs": 150, "inputs": {"diameter": 49, "height": 26}}, {"idx": 3, "outputs": 234, "inputs": {"diameter": 56, "height": 61}}, {"idx": 4, "outputs": 332, "inputs": {"diameter": 87, "height": 79}}, {"idx": 5, "outputs": 170, "inputs": {"diameter": 64, "height": 21}}, {"idx": 6, "outputs": 336, "inputs": {"diameter": 75, "height": 93}}, {"idx": 7, "outputs": 212, "inputs": {"diameter": 90, "height": 16}}, {"idx": 8, "outputs": 142, "inputs": {"diameter": 55, "height": 16}}, {"idx": 9, "outputs": 204, "inputs": {"diameter": 73, "height": 29}}]
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 diameter, Integer height, Integer expected){
          try{
              Driver driver = new Driver();
              if (driver.run(diameter, height,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(70, 78, 296);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(97, 46, 286);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(49, 26, 150);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(56, 61, 234);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(87, 79, 332);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(64, 21, 170);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(75, 93, 336);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(90, 16, 212);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(55, 16, 142);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(73, 29, 204);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer diameter, Integer height, Integer expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(diameter, height),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__