dikdimon commited on
Commit
6b34ff6
·
verified ·
1 Parent(s): d70eb82

Delete install.py

Browse files
Files changed (1) hide show
  1. install.py +0 -31
install.py DELETED
@@ -1,31 +0,0 @@
1
- # Mega FreeU — Test Suite
2
-
3
- Tests run without A1111 or PyTorch installed. A NumPy-based torch mock is used instead.
4
-
5
- ## Requirements
6
-
7
- ```
8
- pip install numpy
9
- ```
10
-
11
- ## Running
12
-
13
- ```bash
14
- # From the extension root:
15
- python tests/test_core.py # 144 tests — math, filters, blending, schedule, state
16
- python tests/test_fixes.py # 36 tests — dict-API, PNG metadata, Post-CFG, XYZ
17
- python tests/test_preset_pcfg.py # 32 tests — full preset save/apply round-trip
18
-
19
- # Or run all at once:
20
- for f in tests/test_core.py tests/test_fixes.py tests/test_preset_pcfg.py; do
21
- python "$f" && echo "--- $f PASSED ---" || echo "--- $f FAILED ---"
22
- done
23
- ```
24
-
25
- ## What is covered
26
-
27
- | File | Tests | Coverage |
28
- |------|-------|----------|
29
- | `test_core.py` | 144 | `ratio_to_region`, `lerp`, `get_backbone_scale` (V1+V2), `filter_skip_box`, `fourier_filter_gauss`, `get_band_energy_stats`, `filter_skip_box_multiscale`, all 9 blending modes, `parse_override_scales`, `_normalize`, `get_schedule_ratio`, `get_stage_bsratio`, `StageInfo`/`State` dataclasses, `update_attr`, `_load_user_presets`, `filter_skip_gaussian_adaptive` (no-cap/cap/fixed/aggressive), backbone blend math, `apply_xyz`, `detect_model_channels`, `_flat_to_sis`, PostCFG step counter |
30
- | `test_fixes.py` | 36 | `State` pcfg/verbose fields + round-trip, `_load_user_presets` with pcfg, `_write_generation_params` PNG keys, Post-CFG independent of Enable, dict-API compat |
31
- | `test_preset_pcfg.py` | 32 | Full preset save/apply with all 20 fields, pcfg disabled case, unknown preset, dict-API pcfg propagation |