CLI-ify rgblight_breathing_table_calc.c (#11174)
Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Co-authored-by: Zach White <skullydazed@drpepper.org>
This commit is contained in:
parent
3925ff5342
commit
37fb14f1b5
6 changed files with 203 additions and 506 deletions
|
@ -190,3 +190,10 @@ def test_clean():
|
|||
result = check_subcommand('clean', '-a')
|
||||
check_returncode(result)
|
||||
assert result.stdout.count('done') == 2
|
||||
|
||||
|
||||
def test_generate_rgb_breathe_table():
|
||||
result = check_subcommand("generate-rgb-breathe-table", "-c", "1.2", "-m", "127")
|
||||
check_returncode(result)
|
||||
assert 'Breathing center: 1.2' in result.stdout
|
||||
assert 'Breathing max: 127' in result.stdout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue