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

貢獻者指南