Skip to content

Update version strings to reference problem-specifications #807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/acronym/acronym_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/allergies/allergies_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/alphametics/alphametics_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/anagram/anagram_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/atbash-cipher/atbash_cipher_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/bob/bob_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/book-store/book_store_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/bracket-push/bracket_push_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/collatz-conjecture/collatz_conjecture_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/diamond/diamond_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/etl/etl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/gigasecond/gigasecond_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/grep/grep_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion exercises/hello-world/hello_world_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/leap/leap_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/luhn/luhn_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/meetup/meetup_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/nth-prime/nth_prime_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/phone-number/phone_number_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/prime-factors/prime_factors_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/rail-fence-cipher/rail_fence_cipher_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/rectangles/rectangles_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/roman-numerals/roman_numerals_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion exercises/run-length-encoding/run_length_encoding_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/say/say_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/scrabble-score/scrabble_score_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/sieve/sieve_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/sublist/sublist_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/tournament/tournament_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion exercises/transpose/transpose_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down