def test_ops(self): """ On the base + slugging test :return: """ # Barry bonds(2004) tb = 45 * 4 + 3 * 3 + 27 * 2 + 60 ops = Stats.ops(135, 232, 9, 373, 3, tb) self.assertEqual(ops, 1.422)