code: def test_get_machine_type(self):
      assert (
          gcp.get_machine_type(
              4, 15, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-standard-4"
      )
      assert (
          gcp.get_machine_type(
              8, 30, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-standard-8"
      )
      assert (
          gcp.get_machine_type(
              16, 60, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-standard-16"
      )
      assert (
          gcp.get_machine_type(
              32, 120, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-standard-32"
      )
      assert (
          gcp.get_machine_type(
              64, 240, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-standard-64"
      )
      assert (
          gcp.get_machine_type(
              96, 360, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-standard-96"
      )
      assert (
          gcp.get_machine_type(
              2, 13, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highmem-2"
      )
      assert (
          gcp.get_machine_type(
              4, 26, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highmem-4"
      )
      assert (
          gcp.get_machine_type(
              8, 52, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highmem-8"
      )
      assert (
          gcp.get_machine_type(
              16, 104, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highmem-16"
      )
      assert (
          gcp.get_machine_type(
              32, 208, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highmem-32"
      )
      assert (
          gcp.get_machine_type(
              64, 416, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highmem-64"
      )
      assert (
          gcp.get_machine_type(
              96, 624, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highmem-96"
      )
      assert (
          gcp.get_machine_type(
              16, 14.4, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highcpu-16"
      )
      assert (
          gcp.get_machine_type(
              32, 28.8, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highcpu-32"
      )
      assert (
          gcp.get_machine_type(
              64, 57.6, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highcpu-64"
      )
      assert (
          gcp.get_machine_type(
              96, 86.4, machine_config.AcceleratorType.NO_ACCELERATOR
          )
          == "n1-highcpu-96"
      )
      assert (
          gcp.get_machine_type(
              96, 86.4, machine_config.AcceleratorType.TPU_V3
          )
          == "cloud_tpu"
      )
      assert (
          gcp.get_machine_type(
              96, 86.4, machine_config.AcceleratorType.TPU_V2
          )
          == "cloud_tpu"
      )
  
file_path: cloud/src/python/tensorflow_cloud/core/tests/unit/gcp_test.py
imports: from absl.testing import absltest
  from tensorflow_cloud.core import gcp
  from tensorflow_cloud.core import machine_config
label_desc: Use image node_id 3 for calling the TestGcp obj's underlying member method code with example usage: obj.test_get_machine_type() without return types