Tests w/ Decimals More Than 8 Places Are Not Necessarily Invalid

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

メンテナーはふだん 5 日以内に返信

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

評価

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

調査の方向性

tests/cql/ValueLiteralsAndSelectors.xml の DecimalTenthStep、DecimalPosTenthStep、DecimalNegTenthStep のケースから始め、次にリンクされている decimal 仕様のセクションを読んでください。8 桁を超える小数点以下の桁数をサポートする engines を、テストでどのように扱うべきか判断してください。仕様で入力が許可されている場合に、対象のケースで無効な結果を要求しなくなれば完了です。

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

説明

The DecimalTenthStep, DecimalPosTenthStep, and DecimalNegTenthStep tests all provided literal decimals with more than 8 decimal places as input. They are all marked as invalid - meaning that engines should return an error. But the spec explicitly says that engines may support more precise decimals here:

Note that implementations must support at least the 28 digits of precision and 8 digits of scale, but may support more precise values.

As such, I don't think there is a single correct expected output; it depends on the engine. Perhaps these tests shouldn't be included at all?

主要言語
言語のデータがありません
スター
8
フォーク
9
平均マージ
4日 2時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

cqframework/cql-tests のほかの issue

cqframework/cql-tests の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

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

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