mirror of
https://github.com/facefusion/facefusion.git
synced 2026-04-23 01:46:09 +02:00
c7976ec9d4
Enforce consistent space inside square brackets for all list literals across source and test files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
9 lines
280 B
Python
9 lines
280 B
Python
from facefusion.sanitizer import sanitize_int_range
|
|
|
|
|
|
def test_sanitize_int_range() -> None:
|
|
assert sanitize_int_range(0, [ 0, 1, 2 ]) == 0
|
|
assert sanitize_int_range(2, [ 0, 1, 2 ]) == 2
|
|
assert sanitize_int_range(-1, [ 0, 1 ]) == 0
|
|
assert sanitize_int_range(3, [ 0, 1 ]) == 0
|