code: def test_wrong_inputs():
      with pytest.raises(
          ValueError, match=r"ngram order must be greater than zero"
      ):
          RougeN(ngram=0)
  
      with pytest.raises(
          ValueError, match=r"alpha must be in interval \[0, 1\]"
      ):
          RougeN(alpha=-1)
  
      with pytest.raises(
          ValueError, match=r"alpha must be in interval \[0, 1\]"
      ):
          RougeN(alpha=2)
  
      with pytest.raises(
          ValueError,
          match=r"multiref : valid values are \['best', 'average'\] ",
      ):
          RougeN(multiref="")
  
      with pytest.raises(
          ValueError,
          match=r"variant must be 'L' or integer greater to zero",
      ):
          Rouge(variants=["error"])
  
      with pytest.raises(NotComputableError):
          RougeL().compute()
  
      with pytest.raises(ValueError):
          Rouge(multiref="unknown")
  
imports: import os
  import nltk
  import pytest
  import rouge
  import torch
  import ignite.distributed
  from ignite.exceptions import NotComputableError
  from ignite.metrics.nlp import Rouge
  from ignite.metrics.nlp.rouge import compute_ngram_scores, RougeL, RougeN
  from .None import CorpusForTest
label_desc: Use image node_id 2 for calling a global function with example usage: test_wrong_inputs() without return types