code: def test_init_atas(self):
      T = TextureAtlas((100, 100))
      assert T.shape == (128, 128, 3)  # rounds to powers of 2
  
      for i in [10, 20, 30, 40, 50, 60]:
          reg = T.get_free_region(10, 10)
          assert len(reg) == 4
  
      reg = T.get_free_region(129, 129)
      assert reg is None
  
imports: import unittest
  import numpy
  import pytest
  from vispy.gloo import Texture1D, Texture2D, Texture3D, TextureAtlas
  from vispy.testing import requires_pyopengl, run_tests_if_main, assert_raises
label_desc: Use image node_id 1 for calling the TextureAtlasTest obj's underlying member method code with example usage: obj.test_init_atas() without return types