Four test assertions carried over from the C# suite are still commented out
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- testing-qa
Direzione di ricerca
Inizia da tests/test_dfsu2D.py alle righe 404, 469 e 806, oltre a tests/test_dfs_static_item.py alla riga 113. Aggiungi le tre asserzioni AxisUnit specificate, quindi determina se il TODO rimanente debba diventare un test reale o essere rimosso. Esegui i file di test interessati e conferma che le asserzioni abbiano esito positivo e che non rimanga alcun TODO commentato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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— sametests/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.
- Lingua principale
- Python
- Stelle
- 5
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DHI/mikecore-python
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
DHI/mikecore-python#54 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
DHI/mikecore-python#52 ·
-
Remaining TODOs in production code: platform notes, licensing questions, and one likely-stale marker Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
DHI/mikecore-python#51 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
DHI/mikecore-python#50 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
DHI/mikecore-python#48 ·
Tutte le issue di DHI/mikecore-python
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
huggingface/Repo2RLEnv#163 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
NousResearch/hermes-agent#121143 ·