vlang/vsl

test: add unit tests for gm (geometry) module

オープン

#319 opened on 2026/07/14

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)V (49 件のフォーク)auto 404
Hacktoberfestenhancementgood first issue

Repository metrics

Stars
 (400 個のスター)
PR merge metrics
 (PR metrics pending)

説明

gm/basicgm.v and gm/bins.v have no test coverage. The README promises 6 example directories but automated testing is absent.

Task

Add gm/basicgm_test.v and gm/bins_test.v covering:

  • Point creation and distance computation
  • Bin creation, insertion, and spatial queries
  • Edge cases: empty bins, duplicate points

Verification

  • cd ~/.vmodules/vlang && v test vsl/gm

コントリビューターガイド