vlang/vsl

test: deduplicate identical fft_test.v and fft64_test.v

Open

#320 opened on Jul 14, 2026

 (0 comments) (0 reactions) (0 assignees)V (49 forks)auto 404
Hacktoberfestenhancementgood first issue

Repository metrics

Stars
 (400 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide