mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
Fix unit test
This commit is contained in:
parent
15140d06e7
commit
5f279be306
1 changed files with 1 additions and 5 deletions
|
|
@ -64,11 +64,7 @@ def test_arithmetic_dataset_format_styles():
|
|||
max_digits=2,
|
||||
)
|
||||
dataset = BasicArithmeticDataset(config)
|
||||
assert all(item["question"].endswith("=") for item in dataset)
|
||||
|
||||
config.format_style = "natural"
|
||||
dataset = BasicArithmeticDataset(config)
|
||||
assert all("=" in item["question"] for item in dataset)
|
||||
assert all(item["question"].strip().endswith(".") for item in dataset)
|
||||
|
||||
|
||||
def test_arithmetic_dataset_iteration():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue