Skip to content

Commit 19aa201

Browse files
authored
flower-field: update tests (#2109)
1 parent 398695a commit 19aa201

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

exercises/practice/flower-field/.meta/tests.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ description = "cross"
4444

4545
[dd9d4ca8-9e68-4f78-a677-a2a70fd7a7b8]
4646
description = "large garden"
47+
48+
[6e4ac13a-3e43-4728-a2e3-3551d4b1a996]
49+
description = "multiple adjacent flowers"

exercises/practice/flower-field/tests/flower_field.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,12 @@ fn large_garden() {
188188
let actual = annotate(input);
189189
assert_eq!(actual, expected);
190190
}
191+
192+
#[test]
193+
#[ignore]
194+
fn multiple_adjacent_flowers() {
195+
let input = &[" ** "];
196+
let expected = &["1**1"];
197+
let actual = annotate(input);
198+
assert_eq!(actual, expected);
199+
}

0 commit comments

Comments
 (0)