title: Calculate Volume Dodecahedron
signature: function calculate_volume_dodecahedron(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.entry_fn_name: calculate_volume_dodecahedron
question_info.entry_cls_name: Solution
question_info.test_case_ids: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
question_info.test_code: 
  
  -- SOLUTION CODE
  -- ============================================
  PLACEHOLDER_CODE_BODY
  
  -- TESTING CODE 
  -- ============================================
  function isCorrect(actual, expected)
      if type(expected) ~= type(actual) then
          return false
      end
      
      if type(expected) == 'table' then
          for k,v_expected in pairs(expected) do
              
              if actual[k] == nil then
                  return false
              end
              local v_actual = actual[k]
              if not isCorrect(v_actual, v_expected) then
                  return false
              end
              actual[k]=nil
          end
      
          if next(actual) then 
              return false
          end
          return true
      else
          return actual == expected
      end
  end
  
  function validateSolution(actual, expected)
      return math.abs(actual - expected) < 1e-09
  end
  
  function driver(side, expected)
      local exec_result;
      local status, error_msg = pcall(function () 
          exec_result=PLACEHOLDER_FN_NAME(side) 
      end)
      if status then
          if validateSolution(exec_result,expected) then
              return "PASSED"
          end
          return "FAILED"
      else
          return string.format("ERROR=%s",string.gsub(error_msg,".*:[%d]+: ",""))
      end
  end
      
  function main()
      result = driver(56, 1345766.2993890555)
      print(string.format("TEST-0...%s",result))
  
      result = driver(73, 2981083.5487053124)
      print(string.format("TEST-1...%s",result))
  
      result = driver(22, 81596.89069273109)
      print(string.format("TEST-2...%s",result))
  
      result = driver(10, 7663.118960624633)
      print(string.format("TEST-3...%s",result))
  
      result = driver(84, 4541961.260438062)
      print(string.format("TEST-4...%s",result))
  
      result = driver(20, 61304.95168499706)
      print(string.format("TEST-5...%s",result))
  
      result = driver(51, 1016520.3932458181)
      print(string.format("TEST-6...%s",result))
  
      result = driver(91, 5774704.218276865)
      print(string.format("TEST-7...%s",result))
  
      result = driver(10, 7663.118960624633)
      print(string.format("TEST-8...%s",result))
  
      result = driver(83, 4381671.801138677)
      print(string.format("TEST-9...%s",result))
  
  end
  
  main()
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}}]