public void is_key_up_true()
        {
            var button = new ButtonAction()
            {
                IsKeyUp = true, ScanCode = 48, TimeInMilliseconds = 0
            };
            var actionVm = new ButtonActionViewModel(button);

            Assert.True(actionVm.IsKeyUp);
        }
        public void constructor_with_action()
        {
            var button = new ButtonAction()
            {
                ScanCode = 48, TimeInMilliseconds = 0
            };
            var actionVm = new ButtonActionViewModel(button);

            Assert.Equal("B", actionVm.ScanCode);
        }
        public void time_getter()
        {
            const int time   = 4000;
            var       button = new ButtonAction()
            {
                ScanCode = 48, TimeInMilliseconds = time
            };
            var actionVm = new ButtonActionViewModel(button);

            Assert.Equal(time, actionVm.TimeInMilliseconds);
        }
        public void constructor()
        {
            var actionVm = new ButtonActionViewModel();

            Assert.Equal("LBUTTON", actionVm.ScanCode);
        }