Skip to content

Commit fd863a2

Browse files
authored
Synced tests.toml and regenerated test file for Roman-Numerals. (#3730)
1 parent fe28366 commit fd863a2

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

exercises/practice/roman-numerals/.meta/tests.toml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ description = "6 is VI"
3030
[ff3fb08c-4917-4aab-9f4e-d663491d083d]
3131
description = "9 is IX"
3232

33+
[6d1d82d5-bf3e-48af-9139-87d7165ed509]
34+
description = "16 is XVI"
35+
3336
[2bda64ca-7d28-4c56-b08d-16ce65716cf6]
3437
description = "27 is XXVII"
3538

@@ -42,6 +45,9 @@ description = "49 is XLIX"
4245
[d5b283d4-455d-4e68-aacf-add6c4b51915]
4346
description = "59 is LIX"
4447

48+
[4465ffd5-34dc-44f3-ada5-56f5007b6dad]
49+
description = "66 is LXVI"
50+
4551
[46b46e5b-24da-4180-bfe2-2ef30b39d0d0]
4652
description = "93 is XCIII"
4753

@@ -51,38 +57,35 @@ description = "141 is CXLI"
5157
[267f0207-3c55-459a-b81d-67cec7a46ed9]
5258
description = "163 is CLXIII"
5359

60+
[902ad132-0b4d-40e3-8597-ba5ed611dd8d]
61+
description = "166 is CLXVI"
62+
5463
[cdb06885-4485-4d71-8bfb-c9d0f496b404]
5564
description = "402 is CDII"
5665

5766
[6b71841d-13b2-46b4-ba97-dec28133ea80]
5867
description = "575 is DLXXV"
5968

69+
[dacb84b9-ea1c-4a61-acbb-ce6b36674906]
70+
description = "666 is DCLXVI"
71+
6072
[432de891-7fd6-4748-a7f6-156082eeca2f]
6173
description = "911 is CMXI"
6274

6375
[e6de6d24-f668-41c0-88d7-889c0254d173]
6476
description = "1024 is MXXIV"
6577

66-
[bb550038-d4eb-4be2-a9ce-f21961ac3bc6]
67-
description = "3000 is MMM"
68-
69-
[6d1d82d5-bf3e-48af-9139-87d7165ed509]
70-
description = "16 is XVI"
71-
72-
[4465ffd5-34dc-44f3-ada5-56f5007b6dad]
73-
description = "66 is LXVI"
74-
75-
[902ad132-0b4d-40e3-8597-ba5ed611dd8d]
76-
description = "166 is CLXVI"
77-
78-
[dacb84b9-ea1c-4a61-acbb-ce6b36674906]
79-
description = "666 is DCLXVI"
80-
8178
[efbe1d6a-9f98-4eb5-82bc-72753e3ac328]
8279
description = "1666 is MDCLXVI"
8380

81+
[bb550038-d4eb-4be2-a9ce-f21961ac3bc6]
82+
description = "3000 is MMM"
83+
8484
[3bc4b41c-c2e6-49d9-9142-420691504336]
8585
description = "3001 is MMMI"
8686

87+
[2f89cad7-73f6-4d1b-857b-0ef531f68b7e]
88+
description = "3888 is MMMDCCCLXXXVIII"
89+
8790
[4e18e96b-5fbb-43df-a91b-9cb511fe0856]
8891
description = "3999 is MMMCMXCIX"

exercises/practice/roman-numerals/roman_numerals_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These tests are auto-generated with test data from:
22
# https://github.com/exercism/problem-specifications/tree/main/exercises/roman-numerals/canonical-data.json
3-
# File last updated on 2023-07-19
3+
# File last updated on 2024-07-08
44

55
import unittest
66

@@ -85,5 +85,8 @@ def test_3000_is_mmm(self):
8585
def test_3001_is_mmmi(self):
8686
self.assertEqual(roman(3001), "MMMI")
8787

88+
def test_3888_is_mmmdccclxxxviii(self):
89+
self.assertEqual(roman(3888), "MMMDCCCLXXXVIII")
90+
8891
def test_3999_is_mmmcmxcix(self):
8992
self.assertEqual(roman(3999), "MMMCMXCIX")

0 commit comments

Comments
 (0)