

def test_StartParams(self):
    codec = vp8_mpeg_1d.Vp8CodecMpeg1dMode()
    my_optimizer = optimizer.Optimizer(codec)
    params = codec.StartEncoder(params.context).parameters
    self.assertEqual((int(params.GetValue('key-q')) * 2), int(params.GetValue('fixed-q')))

dataset/ETHPy150Open google/compare-codecs/lib/vp8_mpeg_1d_unittest.py TestVp8Mpeg1dCodec.test_StartParams/VarMisuse@33/50 `my_optimizer`->`params`