Spaces:
Running on Zero
Running on Zero
| """Pytest-style tests for ays_scheduler (converted from unittest). | |
| Moved from `tests/test_ays_sigmas.py` and converted to pytest parametrize. | |
| """ | |
| import pytest | |
| from src.sample.ays_scheduler import ays_scheduler | |
| def test_ays_sigmas_step_counts(steps, model, expected_len): | |
| sigmas = ays_scheduler(None, steps, model) | |
| assert len(sigmas) == expected_len | |