text: import unittest
  from functions.get_nag_sample import get_nag_sample_binary_xor
  from functions.get_nag_sample import get_nag_sample_binary_nand
  
  
  class TestSampleBinaryNagsExecutionOutputs(unittest.TestCase):
      def test_nag_binary_nand(self):
          nag = get_nag_sample_binary_nand()
          self.assertEqual(nag.get_ett_value([0, 0], 'o1'), 1)
          self.assertEqual(nag.get_ett_value([0, 1], 'o1'), 1)
          self.assertEqual(nag.get_ett_value([1, 0], 'o1'), 1)
          self.assertEqual(nag.get_ett_value([1, 1], 'o1'), 0)
  
      def test_nag_binary_xor(self):
          nag = get_nag_sample_binary_xor()
          self.assertEqual(nag.get_ett_value([0, 0], 'o1'), 0)
          self.assertEqual(nag.get_ett_value([0, 1], 'o1'), 1)
          self.assertEqual(nag.get_ett_value([1, 0], 'o1'), 1)
          self.assertEqual(nag.get_ett_value([1, 1], 'o1'), 0)
  
  
  if __name__ == '__main__':
      unittest.main()
  