class_docstr: Test drawing individual pixels.
docstr: Test plotting multiple [x, y] points.
docstr_tok: ["Test","plotting","multiple","[","x",",","y","]","points","."]
code: def test_draw_point2d_rgb(self, dtype, device):
      """Test plotting multiple [x, y] points."""
      points = torch.tensor([(1, 3), (2, 4)], device=device)
      color = torch.tensor([5, 10, 15], dtype=dtype, device=device)
      img = torch.zeros(3, 8, 8, dtype=dtype, device=device)
      img = draw_point2d(img, points, color)
      for x, y in points:
          assert_close(img[:, y, x], color.to(img.dtype))
  
imports: import math
  import pytest
  import torch
  from kornia.testing import assert_close
  from kornia.utils import create_meshgrid, draw_convex_polygon, draw_rectangle
  from kornia.utils.draw import draw_line, draw_point2d
label_desc: Use image node_id 1 for calling the TestDrawPoint obj's underlying member method code with example usage: obj.test_draw_point2d_rgb(dtype, device) without return types