code: def test_type_aliases(self):
      program = Program("in bool A; out float B;", "foo")
  
      # in aliased to attribute, out to varying
      assert ("attribute", "bool", "A") in program.variables
      assert ("varying", "float", "B") in program.variables
  
imports: import unittest
  import numpy
  from vispy import gloo, app
  from vispy.gloo.program import Program
  from vispy.testing import run_tests_if_main, requires_application
  from vispy.gloo.context import set_current_canvas, forget_canvas
label_desc: Use image node_id 8 for calling the ProgramTest obj's underlying member method code with example usage: obj.test_type_aliases() without return types