def test_resolvables(self):
    resolvable_value = CountingResolvable('//:fine-structure-constant', (1 / 137.0))
    varz = self.Varz({'fine structure constant': resolvable_value})
    self.assertEqual({'fine structure constant': (1 / 137.0)}, varz.varz)
    self.assertEqual(1, resolvable_value.resolutions)
    self.assertEqual((1 / 137.0), varz.varz['fine structure constant'])
    self.assertEqual(2, resolvable_value.resolutions)
def test_resolvables(self):
    resolvable_value = CountingResolvable('//:fine-structure-constant', (1 / 137.0))
    varz = self.Varz({'fine structure constant': resolvable_value})
    self.assertEqual({'fine structure constant': (1 / 137.0)}, varz.varz)
    self.assertEqual(1, resolvable_value.resolutions)
    self.assertEqual((1 / 137.0), varz.varz['fine structure constant'])
    self.assertEqual(2, resolvable_value.resolutions)