code: def test_load_sample(self):
      # test wrong data
      self.assertRaises(
          AssertionError,
          SMSample,
          {"sentence1": "MR zhang has 10 students ."},
      )
      self.assertRaises(
          AssertionError,
          SMSample,
          {"sentence2": "Mr zhang has 20 students ."},
      )
      self.assertRaises(
          AssertionError, SMSample, {"x": "MR zhang has 10 students ."}
      )
      self.assertRaises(
          AssertionError, SMSample, {"y": "contradiction"}
      )
      self.assertRaises(
          AssertionError,
          SMSample,
          {"sentence1": 11, "sentence2": 22, "y": "1"},
      )
      self.assertRaises(
          AssertionError,
          SMSample,
          {"sentence1": [], "sentence2": [], "y": "0"},
      )
      self.assertRaises(
          AssertionError, SMSample, {"sentence1": "", "sentence2": ""}
      )
      self.assertRaises(
          ValueError,
          SMSample,
          {
              "sentence1": "MR zhang has 10 students .",
              "sentence2": "Mr zhang has 20 students .",
              "y": 1,
          },
      )
  
file_path: textflint/test/input/component/sample/test_sm_sample.py
imports: import unittest
  from textflint.input.component.sample.sm_sample import *
label_desc: Use image node_id 1 for calling the TestSMSample obj's underlying member method code with example usage: obj.test_load_sample() without return types