code-chronicles-code / code-chronicles-code/leetcode-curriculum

Add tests for `Iterator.prototype.min` and `Iterator.prototype.max` custom comparator

未關閉
#114 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
good first issue tests typescript
主要語言
TypeScript
星號
20
分支
12
PR 合併指標
30 天內沒有已合併 PR

描述

The custom comparator is already supported via a `compareFn` argument, but we don't have specific tests for it. Let's add some!

貢獻指南

開啟貢獻指南

研究方向

在儲存庫中搜尋 Iterator.prototype.min 和 Iterator.prototype.max 及其現有測試。查看 compareFn 引數的處理方式,然後新增展示自訂比較器行為的針對性案例,並執行相關測試套件以確認這兩個方法都能通過。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
testing
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。