Title: test: 完善测试用例 by CPythoner · Pull Request #13 · CPythoner/ByteBuffer · GitHub
Open Graph Title: test: 完善测试用例 by CPythoner · Pull Request #13 · CPythoner/ByteBuffer
X Title: test: 完善测试用例 by CPythoner · Pull Request #13 · CPythoner/ByteBuffer
Description: 测试用例完善 新增测试用例 本次更新将测试用例从 5 个增加到 40 个,断言从 23 个增加到 110 个。 测试覆盖范围 类别 测试用例数 说明 构造函数 3 默认、指定容量、从数组 自动扩容 1 检查扩容机制 基础读写 1 所有类型的读写 状态管理 5 flip, compact, clear, mark, reset, rewind 剩余检查 2 remaining, hasRemaining 位置限制 2 position, limit 设置 索引读取 7 所有类型的索引读取 索引写入 7 所有类型的索引写入 移动语义 2 移动构造、移动赋值 其他功能 3 duplicate, equals, printInfo 边界情况 4 空缓冲区、越界、大容量、链式操作 异常处理 1 bad_alloc 异常 类型特征 1 noexcept 移动构造 测试结果 All tests passed (110 assertions in 40 test cases) 测试统计 测试用例数: 40 断言数: 110 通过率: 100%
Open Graph Description: 测试用例完善 新增测试用例 本次更新将测试用例从 5 个增加到 40 个,断言从 23 个增加到 110 个。 测试覆盖范围 类别 测试用例数 说明 构造函数 3 默认、指定容量、从数组 自动扩容 1 检查扩容机制 基础读写 1 所有类型的读写 状态管理 5 flip, compact, clear, mark, reset, rewind 剩余检查 2 rem...
X Description: 测试用例完善 新增测试用例 本次更新将测试用例从 5 个增加到 40 个,断言从 23 个增加到 110 个。 测试覆盖范围 类别 测试用例数 说明 构造函数 3 默认、指定容量、从数组 自动扩容 1 检查扩容机制 基础读写 1 所有类型的读写 状态管理 5 flip, compact, clear, mark, reset, rewind 剩余检查 2 rem...
Opengraph URL: https://github.com/CPythoner/ByteBuffer/pull/13
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5d0797df-8513-063c-cf0b-cdddbe35c373 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B5E0:33509B:A1962B:E7C591:6A59F90D |
| html-safe-nonce | 90dbeec8aadb3c17741c687cf393eb053d3197dcb37292833d8f6ce55ed9c10c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUUwOjMzNTA5QjpBMTk2MkI6RTdDNTkxOjZBNTlGOTBEIiwidmlzaXRvcl9pZCI6Ijg2MDY5NjE1MTQ4ODc5MDM1MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 46c31d2a38944480df0c9f777007d1fe19a475db4b5f298d0ae6e639f8225f12 |
| hovercard-subject-tag | pull_request:3486813168 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/CPythoner/ByteBuffer/pull/13/files |
| twitter:image | https://avatars.githubusercontent.com/u/6645605?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6645605?s=400&v=4 |
| og:image:alt | 测试用例完善 新增测试用例 本次更新将测试用例从 5 个增加到 40 个,断言从 23 个增加到 110 个。 测试覆盖范围 类别 测试用例数 说明 构造函数 3 默认、指定容量、从数组 自动扩容 1 检查扩容机制 基础读写 1 所有类型的读写 状态管理 5 flip, compact, clear, mark, reset, rewind 剩余检查 2 rem... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/CPythoner/ByteBuffer git https://github.com/CPythoner/ByteBuffer.git |
| octolytics-dimension-user_id | 6645605 |
| octolytics-dimension-user_login | CPythoner |
| octolytics-dimension-repository_id | 351674544 |
| octolytics-dimension-repository_nwo | CPythoner/ByteBuffer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 351674544 |
| octolytics-dimension-repository_network_root_nwo | CPythoner/ByteBuffer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 24801cf86623a319252348d1fd69122ad974b842 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width