code: def test_smoke(self, device, cdtype):
      z = torch.randn(2, 1, dtype=cdtype, device=device)
      s = So2(z)
      assert isinstance(s, So2)
      self.assert_close(s.z.data, z.data)
  
imports: import pytest
  import torch
  from kornia.geometry.liegroup import So2
  from kornia.geometry.vector import Vector2
  from kornia.testing import BaseTester
label_desc: Use image node_id 2 for calling the TestSo2 obj's underlying member method code with example usage: obj.test_smoke(device, cdtype) without return types