code: def test_constructor_checks(self) -> None:
      with self.assertRaises(ValueError):
          EdgeList(
              EntityList.from_tensor(
                  torch.tensor([3, 4, 0], dtype=torch.long)
              ),
              EntityList.from_tensor(
                  torch.tensor([2], dtype=torch.long)
              ),
              torch.tensor(1, dtype=torch.long),
          )
      with self.assertRaises(ValueError):
          EdgeList(
              EntityList.from_tensor(
                  torch.tensor([3, 4], dtype=torch.long)
              ),
              EntityList.from_tensor(
                  torch.tensor([0, 2], dtype=torch.long)
              ),
              torch.tensor([1], dtype=torch.long),
          )
      with self.assertRaises(ValueError):
          EdgeList(
              EntityList.from_tensor(
                  torch.tensor([3, 4], dtype=torch.long)
              ),
              EntityList.from_tensor(
                  torch.tensor([0, 2], dtype=torch.long)
              ),
              torch.tensor([[1]], dtype=torch.long),
          )
  
imports: from unittest import main, TestCase
  import torch
  from torchbiggraph.edgelist import EdgeList
  from torchbiggraph.entitylist import EntityList
label_desc: Use image node_id 6 for calling the TestEdgeList obj's underlying member method code with example usage: obj.test_constructor_checks() without return types