class_docstr: These unit tests verify basic properties of the Switch estimators, in that
  when the threshold is low, the model-based DM estimator is used and when the
  threshold is high, the propensity score estimator is used.
docstr: Switch with tau set at the max value should be equal to IPS
code: def test_switch_equal_to_ips(self):
      """
      Switch with tau set at the max value should be equal to IPS
      """
      # Setting the base to 1 will cause all candidates to be the maximum threshold
      SwitchEstimator.EXP_BASE = 1
      switch = SwitchEstimator(rmax=1.0).evaluate(self.bandit_input)
      ips = IPSEstimator().evaluate(self.bandit_input)
      self.assertAlmostEqual(
          ips.estimated_reward, switch.estimated_reward
      )
  
file_path: ReAgent/reagent/ope/test/unit_tests/test_contextual_bandit_estimators.py
imports: import random
  import unittest
  import numpy
  import torch
  from reagent.ope.estimators.contextual_bandits_estimators import Action, ActionDistribution, ActionSpace, BanditsEstimatorInput, DMEstimator, DoublyRobustEstimator, IPSEstimator, LogSample, ModelOutputs, SwitchDREstimator, SwitchEstimator
label_desc: Use image node_id 2 for calling the TestSwitchEstimators obj's underlying member method code with example usage: obj.test_switch_equal_to_ips() without return types