Issue 41 fixed

This commit is contained in:
bsongis@gmail.com
2013-06-03 20:50:00 +00:00
parent ffe29e6f1a
commit 6427b8a8bb
2 changed files with 31 additions and 11 deletions
+20 -1
View File
@@ -583,7 +583,6 @@ TEST(Mixer, SlowAndDelayOnReplace3POSSource)
g_model.mixData[0].srcRaw = MIXSRC_3POS;
g_model.mixData[0].weight = 100;
g_model.mixData[0].delayUp = 10;
g_model.mixData[0].delayUp = 10;
g_model.mixData[0].speedUp = 10;
g_model.mixData[0].speedDown = 10;
@@ -601,6 +600,26 @@ TEST(Mixer, SlowAndDelayOnReplace3POSSource)
CHECK_SLOW_MOVEMENT(0, +1, 250);
}
TEST(Mixer, NoTrimOnInactiveMix)
{
MODEL_RESET();
MIXER_RESET();
g_model.mixData[0].destCh = 0;
g_model.mixData[0].mltpx = MLTPX_ADD;
g_model.mixData[0].srcRaw = MIXSRC_Thr;
g_model.mixData[0].weight = 100;
g_model.mixData[0].swtch = SWSRC_THR;
g_model.mixData[0].speedUp = 10;
g_model.mixData[0].speedDown = 10;
setTrimValue(0, 2, 256);
simuSetSwitch(0, 1);
CHECK_SLOW_MOVEMENT(0, 1, 100);
simuSetSwitch(0, 0);
CHECK_SLOW_MOVEMENT(0, -1, 100);
}
TEST(Curves, LinearIntpol)
{
MODEL_RESET();