Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Four test assertions carried over from the C# suite are still commented out

オープン 初心者向け
#49 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
testing-qa

調査の方向性

tests/test_dfsu2D.py の 404、469、806 行目と、tests/test_dfs_static_item.py の 113 行目から始めます。指定された 3 つの AxisUnit アサーションを追加し、その後、残りの TODO を実際のテストにするべきか削除すべきかを判断します。影響を受けるテストファイルを実行し、アサーションがパスし、コメントアウトされた TODO が残っていないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

Four assertions carried over from the original C# test suite are still commented out:

  • tests/test_dfsu2D.py:404# TODO: Assert.AreEqual(eumUnit.eumUmeter, axis.AxisUnit);
  • tests/test_dfsu2D.py:469 — same
  • tests/test_dfsu2D.py:806# TODO: Implement?
  • tests/test_dfs_static_item.py:113# TODO: Assert.AreEqual(eumUnit.eumUmeter, axis.AxisUnit

The three AxisUnit ones are a single, small check in Python:

assert axis.AxisUnit == eumUnit.eumUmeter

If that holds, the tests get slightly stronger for free. If it does not hold, that is more interesting than the test, and worth a separate issue.

test_dfsu2D.py:806 is vaguer and may just be a note that the C# original tested something the Python port does not cover; it should either become a real test or be removed.

Small, self-contained, and a reasonable first contribution.

主要言語
Python
スター
5
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DHI/mikecore-python のほかの issue

DHI/mikecore-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。