title: Calculate Volume Dodecahedron
signature: class Solution {
  
      public Double calculateVolumeDodecahedron(Integer side) {
source_py: def calculate_volume_dodecahedron(side):
      return (((15 + (7 * math.sqrt(5))) / 4) * math.pow(side, 3))
source_cpp: double calculate_volume_dodecahedron(int side) {
    return ( ( ( 15 + ( 7 * ( sqrt ( 5 ) ) ) ) / 4 ) * ( pow ( side, 3 ) ) );
  }
question_info.extension: java
question_info.entry_fn_name: calculateVolumeDodecahedron
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": 1345766.2993890555, "inputs": {"side": 56}}, {"idx": 1, "outputs": 2981083.5487053124, "inputs": {"side": 73}}, {"idx": 2, "outputs": 81596.89069273109, "inputs": {"side": 22}}, {"idx": 3, "outputs": 7663.118960624633, "inputs": {"side": 10}}, {"idx": 4, "outputs": 4541961.260438062, "inputs": {"side": 84}}, {"idx": 5, "outputs": 61304.95168499706, "inputs": {"side": 20}}, {"idx": 6, "outputs": 1016520.3932458181, "inputs": {"side": 51}}, {"idx": 7, "outputs": 5774704.218276865, "inputs": {"side": 91}}, {"idx": 8, "outputs": 7663.118960624633, "inputs": {"side": 10}}, {"idx": 9, "outputs": 4381671.801138677, "inputs": {"side": 83}}]
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 side, Double expected){
          try{
              Driver driver = new Driver();
              if (driver.run(side,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(56, 1345766.2993890555);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(73, 2981083.5487053124);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(22, 81596.89069273109);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(10, 7663.118960624633);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(84, 4541961.260438062);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(20, 61304.95168499706);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(51, 1016520.3932458181);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(91, 5774704.218276865);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(10, 7663.118960624633);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(83, 4381671.801138677);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer side, Double expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(side),expected);
      }
      
      public boolean validateSolution(Double actual, Double expected){
          return Math.abs(actual - expected) < 1e-09;
      }
  }
  
  
  // 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__