Skip to content

ronoaer/ledgame_qml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ledgame

it's implemented by Qt(5, 6), C++ 17 and QML (MacOS 12.6 and Ubuntu 20) unit test by GTest

description

there are there buttons and labels, and KeySequence. e.g. Happy Path Given: Buttons("C", "A", "B"), KeySequence("ABB"), and Label( Led1, Led2, Led3) When: push "A" Then: Led3 -> green

When: push "B" Then: Led3 -> green, Led2 -> green

When: push "B" Then: Led3 -> green, Led2 -> green, Led1 -> green Then: Regerate KeySequence, and reset Buttons

Effect

Framework

TestResult Qt/C++

e.g. Sad Path Given: Buttons("C", "A", "B"), KeySequence("ABB"), and Label( Led1, Led2, Led3) When: push "C" Then: Led3 -> red

When: push "A" Then: Led3 -> yellow, Led2 -> red

When: push "B" Then: Led3 -> green, Led2 -> yellow, Led1 -> red Then: Regerate KeySequence, and reset Buttons

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published