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:
@ -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
|
||||
|
Reference in New Issue
Block a user