code: def test_resource_to_bytes(self):
      assert 10 == rutils.resource_to_bytes("10b")
      assert 10000 == rutils.resource_to_bytes("10k")
      assert 10000000 == rutils.resource_to_bytes("10m")
      assert 10000000000 == rutils.resource_to_bytes("10g")
  
imports: from unittest import TestCase
  import pytest
  import bigdl.orca.ray.utils
label_desc: Use image node_id 1 for calling the TestUtil obj's underlying member method code with example usage: obj.test_resource_to_bytes() without return types