docstr: If lambda is negative, a ValueError should be raised.
docstr_tok: ["If","lambda","is","negative",",","a","ValueError","should","be","raised","."]
code: def test_lambda_value_error(self) -> None:
      """If lambda is negative, a ValueError should be raised."""
      with self.assertRaises(ValueError):
          MMCRLoss(lmda=-1)
  
file_path: lightly/tests/loss/test_MMCR_loss.py
imports: import unittest
  import torch
  from lightly.loss.mmcr_loss import MMCRLoss
label_desc: Use image node_id 4 for calling the testMMCRLoss obj's underlying member method code with example usage: obj.test_lambda_value_error() without return types