Exemplo n.º 1
0
        public void Test_CellPass_SetFieldsFroVibeStateOff()
        {
            CellPass cp = ATestCellPass();

            Assert.False(cp.CCV == CellPassConsts.NullCCV ||
                         cp.RMV == CellPassConsts.NullRMV ||
                         cp.Frequency == CellPassConsts.NullFrequency ||
                         cp.Amplitude == CellPassConsts.NullAmplitude,
                         "One or more fields for vibe state off are already null, compromising the test");

            cp.SetFieldsForVibeStateOff();

            Assert.True(cp.CCV == CellPassConsts.NullCCV &&
                        cp.RMV == CellPassConsts.NullRMV &&
                        cp.Frequency == CellPassConsts.NullFrequency &&
                        cp.Amplitude == CellPassConsts.NullAmplitude,
                        "Appropriate fields for vibe state off are not null");
        }