Skip to content

Commit b2f909c

Browse files
authored
Sync largest-series-product tests (#887)
[no important files changed]
1 parent 552179c commit b2f909c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

exercises/practice/largest-series-product/.meta/tests.toml

+10
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ description = "reports zero if all spans include zero"
3838

3939
[5d81aaf7-4f67-4125-bf33-11493cc7eab7]
4040
description = "rejects span longer than string length"
41+
include = false
42+
43+
[0ae1ce53-d9ba-41bb-827f-2fceb64f058b]
44+
description = "rejects span longer than string length"
45+
reimplements = "5d81aaf7-4f67-4125-bf33-11493cc7eab7"
4146

4247
[06bc8b90-0c51-4c54-ac22-3ec3893a079e]
4348
description = "reports 1 for empty string and empty product (0 span)"
@@ -49,6 +54,11 @@ include = false
4954

5055
[6d96c691-4374-4404-80ee-2ea8f3613dd4]
5156
description = "rejects empty string and nonzero span"
57+
include = false
58+
59+
[6cf66098-a6af-4223-aab1-26aeeefc7402]
60+
description = "rejects empty string and nonzero span"
61+
reimplements = "6d96c691-4374-4404-80ee-2ea8f3613dd4"
5262

5363
[7a38f2d6-3c35-45f6-8d6f-12e6e32d4d74]
5464
description = "rejects invalid character in digits"

exercises/practice/largest-series-product/LargestSeriesProductTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function testReportsZeroIfAllSpansIncludeZero(): void
107107
}
108108

109109
/**
110-
* uuid: 5d81aaf7-4f67-4125-bf33-11493cc7eab7
110+
* uuid: 0ae1ce53-d9ba-41bb-827f-2fceb64f058b
111111
* @testdox rejects span longer than string length
112112
*/
113113
public function testRejectsSpanLongerThanStringLength(): void
@@ -139,7 +139,7 @@ public function testReportsOneForNonemptyStringAndEmptyProductSpanZero(): void
139139
}
140140

141141
/**
142-
* uuid: 6d96c691-4374-4404-80ee-2ea8f3613dd4
142+
* uuid: 6cf66098-a6af-4223-aab1-26aeeefc7402
143143
* @testdox rejects empty string and nonzero span
144144
*/
145145
public function testRejectsEmptyStringAndNonzeroSpan(): void

0 commit comments

Comments
 (0)