code: def test_get_one_exact_match():
      generated_field = "That is so good"
      ground_truth_field = "That is so awesome"
  
      em = QAMetrics.get_one_exact_match(
          generated_field, ground_truth_field
      )
      assert em == 0
  
      generated_field = "That is so good!"
      ground_truth_field = "That is so good."
  
      em = QAMetrics.get_one_exact_match(
          generated_field, ground_truth_field
      )
      assert em == 1
  
      generated_field = "That is so good"
      ground_truth_field = "that is so good"
  
      em = QAMetrics.get_one_exact_match(
          generated_field, ground_truth_field
      )
      assert em == 1
  
file_path: NeMo/tests/collections/nlp/test_qna.py
imports: import collections
  import pytest
  import torch
  from nemo.collections.nlp.data.question_answering.dataset.qa_dataset import QADataset
  from nemo.collections.nlp.data.question_answering.dataset.qa_gpt_dataset import GPTQADataset
  from nemo.collections.nlp.metrics.qa_metrics import QAMetrics
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_one_exact_match() without return types