def test_validate_gt_label_valid(self) -> None:
        """Test validation of valid ground truth labels."""
        labels = torch.tensor([0, 1])
        validated_labels = self.validator.validate_gt_label(labels)
        assert isinstance(validated_labels, torch.Tensor)
        assert validated_labels.dtype == torch.bool
        assert torch.equal(validated_labels, torch.tensor([False, True]))
Test validation of valid ground truth labels.
tests/unit/data/validators/torch/test_video.py