stdlib-js / stdlib-js/stdlib

[RFC]: add tests to `@stdlib/dstructs/compact-adjacency-matrix`

未关闭
#1,330 13 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Accepted difficulty: 2 Good First Issue JavaScript priority: Normal RFC Tests
主要语言
JavaScript
星标
6k
派生
1.3k
平均合并
1 天 3 小时
30 天内合并 PR
611

描述

### Description

This RFC requests that tests be added to [`@stdlib/dstructs/compact-adjacency-matrix`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/dstructs/compact-adjacency-matrix).

Currently, the package lacks sufficient tests. Ideally, this package would achieve 100% test coverage.

What should be tested?

- All methods
- Property access
- All edge cases

For reference, see [`@stdlib/array/complex64`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/complex64) for a package which exports a custom class and includes extensive unit tests.

### Related Issues

None.

### Questions

No.

### Other

No.

### Checklist

- [X] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with `RFC:`.

贡献指南

打开贡献指南

调研方向

Start in lib/node_modules/@stdlib/dstructs/compact-adjacency-matrix and inspect its exported methods and properties. Use the @stdlib/array/complex64 package as a reference for test structure and coverage. Done means adding tests for all methods, property access, and edge cases, ideally reaching 100% coverage.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
testing-qa
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。