code: def test_default_policy(self):
      policy = SamplePairing.default_policy(10, 80, 3, 2)
  
      state = {torchbearer.EPOCH: 0}
      self.assertFalse(policy(state))
      state = {torchbearer.EPOCH: 10}
      self.assertTrue(policy(state))
  
      for i in range(2):
          state = {torchbearer.EPOCH: 11 + i}
          policy(state)
      state = {torchbearer.EPOCH: 14}
      self.assertFalse(policy(state))
      state = {torchbearer.EPOCH: 15}
      self.assertFalse(policy(state))
      state = {torchbearer.EPOCH: 16}
      self.assertTrue(policy(state))
  
file_path: torchbearer/tests/callbacks/test_sample_pairing.py
imports: from unittest import TestCase
  from mock import patch, call
  import torch
  import torchbearer
  from torchbearer.callbacks import SamplePairing
label_desc: Use image node_id 2 for calling the TestSamplePairing obj's underlying member method code with example usage: obj.test_default_policy() without return types