From dc0f62ae4ce176060a6e87cfb7bf8ca9434c259b Mon Sep 17 00:00:00 2001 From: Nathan Parsons Date: Sat, 14 Oct 2017 12:31:08 +0100 Subject: [PATCH] Update version strings to reference problem-specifications --- exercises/acronym/acronym_test.py | 2 +- exercises/allergies/allergies_test.py | 2 +- exercises/alphametics/alphametics_test.py | 2 +- exercises/anagram/anagram_test.py | 2 +- exercises/atbash-cipher/atbash_cipher_test.py | 2 +- exercises/bob/bob_test.py | 2 +- exercises/book-store/book_store_test.py | 2 +- exercises/bracket-push/bracket_push_test.py | 2 +- exercises/collatz-conjecture/collatz_conjecture_test.py | 2 +- exercises/diamond/diamond_test.py | 2 +- exercises/difference-of-squares/difference_of_squares_test.py | 2 +- exercises/etl/etl_test.py | 2 +- exercises/gigasecond/gigasecond_test.py | 2 +- exercises/grep/grep_test.py | 2 +- exercises/hello-world/hello_world_test.py | 2 +- exercises/largest-series-product/largest_series_product_test.py | 2 +- exercises/leap/leap_test.py | 2 +- exercises/luhn/luhn_test.py | 2 +- exercises/meetup/meetup_test.py | 2 +- exercises/nth-prime/nth_prime_test.py | 2 +- exercises/phone-number/phone_number_test.py | 2 +- exercises/prime-factors/prime_factors_test.py | 2 +- exercises/rail-fence-cipher/rail_fence_cipher_test.py | 2 +- exercises/rectangles/rectangles_test.py | 2 +- exercises/roman-numerals/roman_numerals_test.py | 2 +- exercises/run-length-encoding/run_length_encoding_test.py | 2 +- exercises/say/say_test.py | 2 +- exercises/scrabble-score/scrabble_score_test.py | 2 +- exercises/sieve/sieve_test.py | 2 +- exercises/sublist/sublist_test.py | 2 +- exercises/tournament/tournament_test.py | 2 +- exercises/transpose/transpose_test.py | 2 +- .../variable-length-quantity/variable_length_quantity_test.py | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/exercises/acronym/acronym_test.py b/exercises/acronym/acronym_test.py index cae19597bd..b2d92e2bc4 100644 --- a/exercises/acronym/acronym_test.py +++ b/exercises/acronym/acronym_test.py @@ -3,7 +3,7 @@ from acronym import abbreviate -# test cases adapted from `x-common//canonical-data.json` @ version: 1.1.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0 class AcronymTest(unittest.TestCase): def test_basic(self): diff --git a/exercises/allergies/allergies_test.py b/exercises/allergies/allergies_test.py index 1bddcc7a17..b7d62f5205 100644 --- a/exercises/allergies/allergies_test.py +++ b/exercises/allergies/allergies_test.py @@ -7,7 +7,7 @@ unittest.TestCase.assertCountEqual = unittest.TestCase.assertItemsEqual -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class AllergiesTests(unittest.TestCase): def test_no_allergies_means_not_allergic(self): diff --git a/exercises/alphametics/alphametics_test.py b/exercises/alphametics/alphametics_test.py index 6f59052f34..20e88a7535 100644 --- a/exercises/alphametics/alphametics_test.py +++ b/exercises/alphametics/alphametics_test.py @@ -3,7 +3,7 @@ from alphametics import solve -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class TestAlphametics(unittest.TestCase): def test_puzzle_with_three_letters(self): diff --git a/exercises/anagram/anagram_test.py b/exercises/anagram/anagram_test.py index b1cee78796..f31bf64354 100644 --- a/exercises/anagram/anagram_test.py +++ b/exercises/anagram/anagram_test.py @@ -3,7 +3,7 @@ from anagram import detect_anagrams -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.1 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.1 class AnagramTests(unittest.TestCase): def test_no_matches(self): diff --git a/exercises/atbash-cipher/atbash_cipher_test.py b/exercises/atbash-cipher/atbash_cipher_test.py index a650c0ba8a..af0133cb9b 100644 --- a/exercises/atbash-cipher/atbash_cipher_test.py +++ b/exercises/atbash-cipher/atbash_cipher_test.py @@ -3,7 +3,7 @@ from atbash_cipher import decode, encode -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class AtbashCipherTest(unittest.TestCase): def test_encode_no(self): diff --git a/exercises/bob/bob_test.py b/exercises/bob/bob_test.py index e38c352862..db070e51c9 100644 --- a/exercises/bob/bob_test.py +++ b/exercises/bob/bob_test.py @@ -3,7 +3,7 @@ import bob -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class BobTests(unittest.TestCase): def test_stating_something(self): diff --git a/exercises/book-store/book_store_test.py b/exercises/book-store/book_store_test.py index 1806411ce7..1ab5ac1416 100644 --- a/exercises/book-store/book_store_test.py +++ b/exercises/book-store/book_store_test.py @@ -3,7 +3,7 @@ from book_store import calculate_total -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.1 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.1 class BookStoreTests(unittest.TestCase): def test_only_a_single_book(self): diff --git a/exercises/bracket-push/bracket_push_test.py b/exercises/bracket-push/bracket_push_test.py index bb8c51039e..942853c20c 100644 --- a/exercises/bracket-push/bracket_push_test.py +++ b/exercises/bracket-push/bracket_push_test.py @@ -3,7 +3,7 @@ from bracket_push import check_brackets -# test cases adapted from `x-common//canonical-data.json` @ version: 1.1.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0 class BracketPushTests(unittest.TestCase): def test_paired_square_brackets(self): diff --git a/exercises/collatz-conjecture/collatz_conjecture_test.py b/exercises/collatz-conjecture/collatz_conjecture_test.py index 9e30be1168..c131040290 100644 --- a/exercises/collatz-conjecture/collatz_conjecture_test.py +++ b/exercises/collatz-conjecture/collatz_conjecture_test.py @@ -2,7 +2,7 @@ from collatz_conjecture import collatz_steps -# Test cases adapted from `x-common//canonical-data.json` @ version: 1.1.1 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.1 class CollatzConjectureTests(unittest.TestCase): diff --git a/exercises/diamond/diamond_test.py b/exercises/diamond/diamond_test.py index 94d5daa514..69d61ad9a4 100644 --- a/exercises/diamond/diamond_test.py +++ b/exercises/diamond/diamond_test.py @@ -3,7 +3,7 @@ from diamond import make_diamond -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class DiamondTests(unittest.TestCase): def test_degenerate_case_with_a_single_row(self): diff --git a/exercises/difference-of-squares/difference_of_squares_test.py b/exercises/difference-of-squares/difference_of_squares_test.py index aabbcd8529..f300df736c 100644 --- a/exercises/difference-of-squares/difference_of_squares_test.py +++ b/exercises/difference-of-squares/difference_of_squares_test.py @@ -3,7 +3,7 @@ from difference_of_squares import difference, square_of_sum, sum_of_squares -# test cases adapted from `x-common//canonical-data.json` @ version: 1.1.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0 class DifferenceOfSquaresTest(unittest.TestCase): def test_square_of_sum_1(self): diff --git a/exercises/etl/etl_test.py b/exercises/etl/etl_test.py index b4806942fb..7036f5219c 100644 --- a/exercises/etl/etl_test.py +++ b/exercises/etl/etl_test.py @@ -3,7 +3,7 @@ from etl import transform -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class TransformTest(unittest.TestCase): def test_a_single_letter(self): diff --git a/exercises/gigasecond/gigasecond_test.py b/exercises/gigasecond/gigasecond_test.py index c4365a583d..b396a3fb78 100644 --- a/exercises/gigasecond/gigasecond_test.py +++ b/exercises/gigasecond/gigasecond_test.py @@ -5,7 +5,7 @@ from gigasecond import add_gigasecond -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class GigasecondTest(unittest.TestCase): def test_date_only_specification_of_time(self): diff --git a/exercises/grep/grep_test.py b/exercises/grep/grep_test.py index 1568af4378..cf0a7b804d 100644 --- a/exercises/grep/grep_test.py +++ b/exercises/grep/grep_test.py @@ -4,7 +4,7 @@ from grep import grep -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 ILIADFILENAME = 'iliad.txt' ILIADCONTENTS = '''Achilles sing, O Goddess! Peleus' son; diff --git a/exercises/hello-world/hello_world_test.py b/exercises/hello-world/hello_world_test.py index c0e5178f1d..817a68206f 100644 --- a/exercises/hello-world/hello_world_test.py +++ b/exercises/hello-world/hello_world_test.py @@ -3,7 +3,7 @@ import hello_world -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class HelloWorldTests(unittest.TestCase): def test_hello(self): diff --git a/exercises/largest-series-product/largest_series_product_test.py b/exercises/largest-series-product/largest_series_product_test.py index 0ca956d67a..62307ea532 100644 --- a/exercises/largest-series-product/largest_series_product_test.py +++ b/exercises/largest-series-product/largest_series_product_test.py @@ -11,7 +11,7 @@ from largest_series_product import largest_product -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class SeriesTest(unittest.TestCase): def test_finds_the_largest_product_if_span_equals_length(self): diff --git a/exercises/leap/leap_test.py b/exercises/leap/leap_test.py index 2b99eb8bf5..a57b7b7c53 100644 --- a/exercises/leap/leap_test.py +++ b/exercises/leap/leap_test.py @@ -3,7 +3,7 @@ from leap import is_leap_year -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class YearTest(unittest.TestCase): def test_year_not_divisible_by_4(self): diff --git a/exercises/luhn/luhn_test.py b/exercises/luhn/luhn_test.py index bf976f563d..bbd98c78db 100644 --- a/exercises/luhn/luhn_test.py +++ b/exercises/luhn/luhn_test.py @@ -5,7 +5,7 @@ from luhn import Luhn -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class LuhnTests(unittest.TestCase): def test_single_digit_strings_can_not_be_valid(self): diff --git a/exercises/meetup/meetup_test.py b/exercises/meetup/meetup_test.py index 3306bab340..eb01a4bc32 100644 --- a/exercises/meetup/meetup_test.py +++ b/exercises/meetup/meetup_test.py @@ -10,7 +10,7 @@ MeetupDayException = Exception -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class MeetupTest(unittest.TestCase): def test_monteenth_of_may_2013(self): diff --git a/exercises/nth-prime/nth_prime_test.py b/exercises/nth-prime/nth_prime_test.py index cc0b4ce5bc..bf1322d4ca 100644 --- a/exercises/nth-prime/nth_prime_test.py +++ b/exercises/nth-prime/nth_prime_test.py @@ -3,7 +3,7 @@ from nth_prime import nth_prime -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class NthPrimeTests(unittest.TestCase): def test_first_prime(self): diff --git a/exercises/phone-number/phone_number_test.py b/exercises/phone-number/phone_number_test.py index d282083687..73fd4e7f14 100644 --- a/exercises/phone-number/phone_number_test.py +++ b/exercises/phone-number/phone_number_test.py @@ -3,7 +3,7 @@ from phone_number import Phone -# test cases adapted from `x-common//canonical-data.json` @ version: 1.2.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.2.0 class PhoneTest(unittest.TestCase): def test_cleans_number(self): diff --git a/exercises/prime-factors/prime_factors_test.py b/exercises/prime-factors/prime_factors_test.py index 18569a48ee..9f79ddb1d6 100644 --- a/exercises/prime-factors/prime_factors_test.py +++ b/exercises/prime-factors/prime_factors_test.py @@ -3,7 +3,7 @@ from prime_factors import prime_factors -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class PrimeFactorsTest(unittest.TestCase): def test_no_factors(self): diff --git a/exercises/rail-fence-cipher/rail_fence_cipher_test.py b/exercises/rail-fence-cipher/rail_fence_cipher_test.py index 6dade46539..81f1a9c23e 100644 --- a/exercises/rail-fence-cipher/rail_fence_cipher_test.py +++ b/exercises/rail-fence-cipher/rail_fence_cipher_test.py @@ -3,7 +3,7 @@ from rail_fence_cipher import encode, decode -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.1 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.1 class RailFenceTests(unittest.TestCase): def test_encode_with_two_rails(self): diff --git a/exercises/rectangles/rectangles_test.py b/exercises/rectangles/rectangles_test.py index 98d52fd376..c8391a9a22 100644 --- a/exercises/rectangles/rectangles_test.py +++ b/exercises/rectangles/rectangles_test.py @@ -3,7 +3,7 @@ from rectangles import count -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class WordTest(unittest.TestCase): def test_no_rows(self): diff --git a/exercises/roman-numerals/roman_numerals_test.py b/exercises/roman-numerals/roman_numerals_test.py index 00e352f202..d8ad87e14e 100644 --- a/exercises/roman-numerals/roman_numerals_test.py +++ b/exercises/roman-numerals/roman_numerals_test.py @@ -3,7 +3,7 @@ import roman_numerals -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class RomanTest(unittest.TestCase): numerals = { diff --git a/exercises/run-length-encoding/run_length_encoding_test.py b/exercises/run-length-encoding/run_length_encoding_test.py index 63f6bc7552..5d6f9d920e 100644 --- a/exercises/run-length-encoding/run_length_encoding_test.py +++ b/exercises/run-length-encoding/run_length_encoding_test.py @@ -3,7 +3,7 @@ from run_length_encoding import encode, decode -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class WordCountTests(unittest.TestCase): def test_encode_empty_string(self): diff --git a/exercises/say/say_test.py b/exercises/say/say_test.py index 39f99cbbb0..9223e8b78e 100644 --- a/exercises/say/say_test.py +++ b/exercises/say/say_test.py @@ -3,7 +3,7 @@ from say import say -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class SayTest(unittest.TestCase): def test_zero(self): diff --git a/exercises/scrabble-score/scrabble_score_test.py b/exercises/scrabble-score/scrabble_score_test.py index b224b3e4f0..63e0c37998 100644 --- a/exercises/scrabble-score/scrabble_score_test.py +++ b/exercises/scrabble-score/scrabble_score_test.py @@ -3,7 +3,7 @@ from scrabble_score import score -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class WordTest(unittest.TestCase): def test_lowercase_letter(self): diff --git a/exercises/sieve/sieve_test.py b/exercises/sieve/sieve_test.py index e98dfce37a..0e6ee25d34 100644 --- a/exercises/sieve/sieve_test.py +++ b/exercises/sieve/sieve_test.py @@ -3,7 +3,7 @@ from sieve import sieve -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class SieveTest(unittest.TestCase): def test_no_primes_under_two(self): diff --git a/exercises/sublist/sublist_test.py b/exercises/sublist/sublist_test.py index 5fd58bb479..fd1fccd71e 100644 --- a/exercises/sublist/sublist_test.py +++ b/exercises/sublist/sublist_test.py @@ -3,7 +3,7 @@ from sublist import check_lists, SUBLIST, SUPERLIST, EQUAL, UNEQUAL -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class SublistTest(unittest.TestCase): def test_unique_return_values(self): diff --git a/exercises/tournament/tournament_test.py b/exercises/tournament/tournament_test.py index c4b4aeacec..130ce3fd8b 100644 --- a/exercises/tournament/tournament_test.py +++ b/exercises/tournament/tournament_test.py @@ -3,7 +3,7 @@ from tournament import tally -# test cases adapted from `x-common//canonical-data.json` @ version: 1.3.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.3.0 class TestTournament(unittest.TestCase): def test_just_the_header_if_no_input(self): diff --git a/exercises/transpose/transpose_test.py b/exercises/transpose/transpose_test.py index 82e8fd33c8..eb5066f8fe 100644 --- a/exercises/transpose/transpose_test.py +++ b/exercises/transpose/transpose_test.py @@ -2,7 +2,7 @@ from transpose import transpose -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class TransposeTests(unittest.TestCase): def test_empty_string(self): diff --git a/exercises/variable-length-quantity/variable_length_quantity_test.py b/exercises/variable-length-quantity/variable_length_quantity_test.py index 47a5518d10..369b09d9fb 100644 --- a/exercises/variable-length-quantity/variable_length_quantity_test.py +++ b/exercises/variable-length-quantity/variable_length_quantity_test.py @@ -3,7 +3,7 @@ from variable_length_quantity import encode, decode -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 class TestVLQ(unittest.TestCase): def test_zero(self):