title: Program Check Input Integer String
signature: function program_check_input_integer_string(s)
source_py: def program_check_input_integer_string(s):
      for i in range(len(s)):
          if (s[i].isdigit() != True):
              return False
      return True
source_cpp: bool program_check_input_integer_string(string s) {
    for ( int i = 0;
    i < s . length ( );
    i ++ ) if ( isdigit ( s [ i ] ) == false ) return false;
    return true;
  }
question_info.entry_fn_name: program_check_input_integer_string
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 isCorrect(actual,expected)
  end
  
  function driver(s, expected)
      local exec_result;
      local status, error_msg = pcall(function () 
          exec_result=PLACEHOLDER_FN_NAME(s) 
      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("MgTOyHo NT", false)
      print(string.format("TEST-0...%s",result))
  
      result = driver("033675175", true)
      print(string.format("TEST-1...%s",result))
  
      result = driver("011001", true)
      print(string.format("TEST-2...%s",result))
  
      result = driver("XLlccG", false)
      print(string.format("TEST-3...%s",result))
  
      result = driver("8223900094410", true)
      print(string.format("TEST-4...%s",result))
  
      result = driver("000", true)
      print(string.format("TEST-5...%s",result))
  
      result = driver("aupp", false)
      print(string.format("TEST-6...%s",result))
  
      result = driver("90202721499", true)
      print(string.format("TEST-7...%s",result))
  
      result = driver("110000100011", true)
      print(string.format("TEST-8...%s",result))
  
      result = driver("MhYHsMQeLhG", false)
      print(string.format("TEST-9...%s",result))
  
  end
  
  main()
question_info.test_list: [{"idx": 0, "outputs": false, "inputs": {"s": "MgTOyHo NT"}}, {"idx": 1, "outputs": true, "inputs": {"s": "033675175"}}, {"idx": 2, "outputs": true, "inputs": {"s": "011001"}}, {"idx": 3, "outputs": false, "inputs": {"s": "XLlccG"}}, {"idx": 4, "outputs": true, "inputs": {"s": "8223900094410"}}, {"idx": 5, "outputs": true, "inputs": {"s": "000"}}, {"idx": 6, "outputs": false, "inputs": {"s": "aupp"}}, {"idx": 7, "outputs": true, "inputs": {"s": "90202721499"}}, {"idx": 8, "outputs": true, "inputs": {"s": "110000100011"}}, {"idx": 9, "outputs": false, "inputs": {"s": "MhYHsMQeLhG"}}]