vlang/vsl

test: deduplicate identical fft_test.v and fft64_test.v

Aperta

#320 aperta il 14 lug 2026

 (0 commenti) (0 reazioni) (0 assegnatari)V (49 fork)auto 404
Hacktoberfestenhancementgood first issue

Metriche repository

Star
 (400 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

fft/fft_test.v and fft/fft64_test.v are byte-identical (2365B each) — a copy-paste duplication with no f32 vs f64 cross-validation.

Task

  1. Extract shared test logic into fft/fft_test_common.v
  2. Have fft_test.v and fft64_test.v import and parameterize it
  3. Add a cross-validation test verifying f32 and f64 produce consistent results

Verification

  • v test vsl/fft passes

Guida contributor