vlang/vsl

test: deduplicate identical fft_test.v and fft64_test.v

开放

#320 创建于 2026年7月14日

 (0 条评论) (0 个反应) (0 位负责人)V (49 个派生)auto 404
Hacktoberfestenhancementgood first issue

仓库指标

星标
 (400 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南