Skip to content

Commit c9c67a8

Browse files
authored
Synced exercise tests to problem specifications. (#3578)
1 parent b4dbac4 commit c9c67a8

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

exercises/practice/knapsack/.meta/tests.toml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
# This is an auto-generated file. Regular comments will be removed when this
2-
# file is regenerated. Regenerating will not touch any manually added keys,
3-
# so comments can be added in a "comment" key.
1+
# This is an auto-generated file.
2+
#
3+
# Regenerating this file via `configlet sync` will:
4+
# - Recreate every `description` key/value pair
5+
# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
6+
# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
7+
# - Preserve any other key/value pair
8+
#
9+
# As user-added comments (using the # character) will be removed when this file
10+
# is regenerated, comments can be added via a `comment` key.
411

512
[a4d7d2f0-ad8a-460c-86f3-88ba709d41a7]
613
description = "no items"
14+
include = false
15+
16+
[3993a824-c20e-493d-b3c9-ee8a7753ee59]
17+
description = "no items"
18+
reimplements = "a4d7d2f0-ad8a-460c-86f3-88ba709d41a7"
719

820
[1d39e98c-6249-4a8b-912f-87cb12e506b0]
921
description = "one item, too heavy"

exercises/practice/knapsack/knapsack_test.py

Lines changed: 1 addition & 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/knapsack/canonical-data.json
3-
# File last updated on 2023-07-19
3+
# File last updated on 2023-12-27
44

55
import unittest
66

0 commit comments

Comments
 (0)