def test_StartParams(self):
    codec = vp8_mpeg_1d.Vp8CodecMpeg1dMode()
    my_optimizer = optimizer.Optimizer(codec)
    params = codec.StartEncoder(my_optimizer.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/original