trackler 2.2.1.151 → 2.2.1.152
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/problem-specifications/exercises/hamming/description.md +4 -3
- data/problem-specifications/exercises/isbn-verifier/canonical-data.json +9 -1
- data/tracks/clojure/exercises/bob/README.md +2 -0
- data/tracks/clojure/exercises/bob/src/example.clj +4 -0
- data/tracks/clojure/exercises/bob/test/bob_test.clj +1 -1
- data/tracks/clojure/exercises/say/README.md +2 -1
- data/tracks/csharp/exercises/acronym/AcronymTest.cs +3 -9
- data/tracks/csharp/exercises/all-your-base/AllYourBaseTest.cs +43 -43
- data/tracks/csharp/exercises/allergies/AllergiesTest.cs +1 -1
- data/tracks/csharp/exercises/alphametics/AlphameticsTest.cs +21 -1
- data/tracks/csharp/exercises/anagram/AnagramTest.cs +1 -35
- data/tracks/csharp/exercises/atbash-cipher/AtbashCipherTest.cs +1 -1
- data/tracks/csharp/exercises/beer-song/BeerSong.cs +1 -6
- data/tracks/csharp/exercises/beer-song/BeerSongTest.cs +20 -28
- data/tracks/csharp/exercises/beer-song/Example.cs +6 -6
- data/tracks/csharp/exercises/binary-search/BinarySearchTest.cs +1 -1
- data/tracks/csharp/exercises/bob/BobTest.cs +1 -1
- data/tracks/csharp/exercises/book-store/BookStoreTest.cs +1 -1
- data/tracks/csharp/exercises/bowling/BowlingTest.cs +47 -29
- data/tracks/csharp/exercises/bracket-push/BracketPushTest.cs +36 -29
- data/tracks/csharp/exercises/change/Change.cs +1 -1
- data/tracks/csharp/exercises/change/ChangeTest.cs +48 -21
- data/tracks/csharp/exercises/change/Example.cs +31 -18
- data/tracks/csharp/exercises/circular-buffer/CircularBuffer.cs +2 -2
- data/tracks/csharp/exercises/circular-buffer/CircularBufferTest.cs +88 -111
- data/tracks/csharp/exercises/circular-buffer/Example.cs +7 -7
- data/tracks/csharp/exercises/clock/ClockTest.cs +37 -37
- data/tracks/csharp/exercises/collatz-conjecture/CollatzConjectureTest.cs +1 -1
- data/tracks/csharp/exercises/complex-numbers/ComplexNumbersTest.cs +19 -10
- data/tracks/csharp/exercises/connect/ConnectTest.cs +1 -1
- data/tracks/csharp/exercises/crypto-square/CryptoSquareTest.cs +1 -1
- data/tracks/csharp/exercises/custom-set/.meta/hints.md +3 -3
- data/tracks/csharp/exercises/custom-set/CustomSet.cs +10 -49
- data/tracks/csharp/exercises/custom-set/CustomSetTest.cs +153 -157
- data/tracks/csharp/exercises/custom-set/Example.cs +26 -54
- data/tracks/csharp/exercises/difference-of-squares/DifferenceOfSquaresTest.cs +1 -1
- data/tracks/csharp/exercises/dominoes/DominoesTest.cs +25 -25
- data/tracks/csharp/exercises/etl/Etl.cs +1 -1
- data/tracks/csharp/exercises/etl/EtlTest.cs +4 -4
- data/tracks/csharp/exercises/etl/Example.cs +1 -1
- data/tracks/csharp/exercises/flatten-array/FlattenArrayTest.cs +13 -13
- data/tracks/csharp/exercises/food-chain/Example.cs +5 -0
- data/tracks/csharp/exercises/food-chain/FoodChain.cs +5 -0
- data/tracks/csharp/exercises/food-chain/FoodChainTest.cs +9 -9
- data/tracks/csharp/exercises/forth/Example.cs +28 -33
- data/tracks/csharp/exercises/forth/Forth.cs +1 -19
- data/tracks/csharp/exercises/forth/ForthTest.cs +215 -52
- data/tracks/csharp/exercises/gigasecond/GigasecondTest.cs +1 -1
- data/tracks/csharp/exercises/grains/GrainsTest.cs +1 -1
- data/tracks/csharp/exercises/grep/Example.cs +1 -1
- data/tracks/csharp/exercises/grep/Grep.cs +1 -1
- data/tracks/csharp/exercises/grep/GrepTest.cs +268 -237
- data/tracks/csharp/exercises/hamming/HammingTest.cs +1 -1
- data/tracks/csharp/exercises/hello-world/HelloWorldTest.cs +1 -1
- data/tracks/csharp/exercises/house/Example.cs +7 -2
- data/tracks/csharp/exercises/house/House.cs +5 -0
- data/tracks/csharp/exercises/house/HouseTest.cs +40 -223
- data/tracks/csharp/exercises/isbn-verifier/IsbnVerifierTest.cs +14 -2
- data/tracks/csharp/exercises/isogram/IsogramTest.cs +1 -1
- data/tracks/csharp/exercises/kindergarten-garden/KindergartenGardenTest.cs +1 -1
- data/tracks/csharp/exercises/largest-series-product/LargestSeriesProductTest.cs +1 -1
- data/tracks/csharp/exercises/leap/LeapTest.cs +1 -1
- data/tracks/csharp/exercises/luhn/LuhnTest.cs +1 -1
- data/tracks/csharp/exercises/markdown/MarkdownTest.cs +34 -27
- data/tracks/csharp/exercises/minesweeper/MinesweeperTest.cs +29 -34
- data/tracks/csharp/exercises/nth-prime/NthPrimeTest.cs +1 -1
- data/tracks/csharp/exercises/nucleotide-count/NucleotideCountTest.cs +1 -1
- data/tracks/csharp/exercises/ocr-numbers/OcrNumbersTest.cs +35 -35
- data/tracks/csharp/exercises/pangram/PangramTest.cs +1 -1
- data/tracks/csharp/exercises/pascals-triangle/PascalsTriangleTest.cs +1 -1
- data/tracks/csharp/exercises/perfect-numbers/PerfectNumbersTest.cs +1 -1
- data/tracks/csharp/exercises/phone-number/PhoneNumberTest.cs +17 -3
- data/tracks/csharp/exercises/pig-latin/PigLatinTest.cs +1 -1
- data/tracks/csharp/exercises/poker/PokerTest.cs +1 -1
- data/tracks/csharp/exercises/prime-factors/PrimeFactorsTest.cs +1 -1
- data/tracks/csharp/exercises/protein-translation/Example.cs +4 -4
- data/tracks/csharp/exercises/protein-translation/ProteinTranslation.cs +1 -1
- data/tracks/csharp/exercises/protein-translation/ProteinTranslationTest.cs +104 -45
- data/tracks/csharp/exercises/proverb/ProverbTest.cs +38 -6
- data/tracks/csharp/exercises/queen-attack/QueenAttackTest.cs +1 -1
- data/tracks/csharp/exercises/rail-fence-cipher/RailFenceCipherTest.cs +1 -1
- data/tracks/csharp/exercises/raindrops/RaindropsTest.cs +1 -1
- data/tracks/csharp/exercises/rectangles/RectanglesTest.cs +63 -21
- data/tracks/csharp/exercises/reverse-string/ReverseStringTest.cs +1 -1
- data/tracks/csharp/exercises/rna-transcription/RnaTranscriptionTest.cs +1 -1
- data/tracks/csharp/exercises/roman-numerals/RomanNumeralsTest.cs +7 -1
- data/tracks/csharp/exercises/rotational-cipher/RotationalCipherTest.cs +1 -1
- data/tracks/csharp/exercises/run-length-encoding/RunLengthEncodingTest.cs +1 -1
- data/tracks/csharp/exercises/saddle-points/SaddlePointsTest.cs +11 -11
- data/tracks/csharp/exercises/say/SayTest.cs +1 -1
- data/tracks/csharp/exercises/scale-generator/Example.cs +5 -0
- data/tracks/csharp/exercises/scale-generator/ScaleGenerator.cs +5 -0
- data/tracks/csharp/exercises/scale-generator/ScaleGeneratorTest.cs +56 -47
- data/tracks/csharp/exercises/scrabble-score/ScrabbleScoreTest.cs +1 -1
- data/tracks/csharp/exercises/secret-handshake/SecretHandshakeTest.cs +1 -1
- data/tracks/csharp/exercises/sieve/SieveTest.cs +1 -1
- data/tracks/csharp/exercises/space-age/SpaceAgeTest.cs +1 -1
- data/tracks/csharp/exercises/spiral-matrix/SpiralMatrixTest.cs +28 -34
- data/tracks/csharp/exercises/sum-of-multiples/SumOfMultiplesTest.cs +1 -1
- data/tracks/csharp/exercises/tournament/Example.cs +15 -7
- data/tracks/csharp/exercises/tournament/TournamentTest.cs +97 -99
- data/tracks/csharp/exercises/transpose/TransposeTest.cs +50 -96
- data/tracks/csharp/exercises/triangle/TriangleTest.cs +1 -1
- data/tracks/csharp/exercises/twelve-days/TwelveDays.cs +1 -1
- data/tracks/csharp/exercises/two-bucket/TwoBucketTest.cs +1 -1
- data/tracks/csharp/exercises/two-fer/TwoFerTest.cs +1 -1
- data/tracks/csharp/exercises/variable-length-quantity/Example.cs +3 -3
- data/tracks/csharp/exercises/variable-length-quantity/VariableLengthQuantity.cs +2 -2
- data/tracks/csharp/exercises/variable-length-quantity/VariableLengthQuantityTest.cs +165 -40
- data/tracks/csharp/exercises/word-count/Example.cs +1 -1
- data/tracks/csharp/exercises/word-count/WordCount.cs +1 -1
- data/tracks/csharp/exercises/word-count/WordCountTest.cs +12 -12
- data/tracks/csharp/exercises/wordy/WordyTest.cs +1 -1
- data/tracks/csharp/exercises/yacht/Example.cs +2 -5
- data/tracks/csharp/exercises/yacht/YachtTest.cs +7 -1
- data/tracks/csharp/exercises/zebra-puzzle/Example.cs +4 -4
- data/tracks/csharp/exercises/zebra-puzzle/ZebraPuzzle.cs +2 -2
- data/tracks/csharp/exercises/zebra-puzzle/ZebraPuzzleTest.cs +7 -5
- data/tracks/csharp/generators/Exercises/AllYourBase.cs +1 -0
- data/tracks/csharp/generators/Exercises/Alphametics.cs +5 -2
- data/tracks/csharp/generators/Exercises/BeerSong.cs +3 -0
- data/tracks/csharp/generators/Exercises/BinarySearch.cs +1 -0
- data/tracks/csharp/generators/Exercises/BookStore.cs +2 -0
- data/tracks/csharp/generators/Exercises/Bowling.cs +20 -15
- data/tracks/csharp/generators/Exercises/BracketPush.cs +1 -1
- data/tracks/csharp/generators/Exercises/Change.cs +20 -0
- data/tracks/csharp/generators/Exercises/CircularBuffer.cs +74 -0
- data/tracks/csharp/generators/Exercises/Clock.cs +7 -8
- data/tracks/csharp/generators/Exercises/ComplexNumbers.cs +9 -16
- data/tracks/csharp/generators/Exercises/Connect.cs +6 -6
- data/tracks/csharp/generators/Exercises/CustomSet.cs +56 -0
- data/tracks/csharp/generators/Exercises/Dominoes.cs +2 -2
- data/tracks/csharp/generators/Exercises/Etl.cs +7 -35
- data/tracks/csharp/generators/Exercises/FlattenArray.cs +9 -13
- data/tracks/csharp/generators/Exercises/FoodChain.cs +5 -0
- data/tracks/csharp/generators/Exercises/Forth.cs +25 -0
- data/tracks/csharp/generators/Exercises/Gigasecond.cs +4 -4
- data/tracks/csharp/generators/Exercises/Grains.cs +1 -1
- data/tracks/csharp/generators/Exercises/Grep.cs +106 -0
- data/tracks/csharp/generators/Exercises/Hamming.cs +1 -1
- data/tracks/csharp/generators/Exercises/House.cs +5 -0
- data/tracks/csharp/generators/Exercises/KindergartenGarden.cs +3 -3
- data/tracks/csharp/generators/Exercises/Markdown.cs +25 -0
- data/tracks/csharp/generators/Exercises/Meetup.cs +6 -6
- data/tracks/csharp/generators/Exercises/Minesweeper.cs +14 -4
- data/tracks/csharp/generators/Exercises/OcrNumbers.cs +12 -3
- data/tracks/csharp/generators/Exercises/PascalsTriangle.cs +0 -7
- data/tracks/csharp/generators/Exercises/ProteinTranslation.cs +8 -0
- data/tracks/csharp/generators/Exercises/Proverb.cs +7 -5
- data/tracks/csharp/generators/Exercises/QueenAttack.cs +3 -3
- data/tracks/csharp/generators/Exercises/Rectangles.cs +17 -0
- data/tracks/csharp/generators/Exercises/RobotSimulator.cs +6 -6
- data/tracks/csharp/generators/Exercises/SaddlePoints.cs +2 -2
- data/tracks/csharp/generators/Exercises/Say.cs +1 -1
- data/tracks/csharp/generators/Exercises/ScaleGenerator.cs +15 -0
- data/tracks/csharp/generators/Exercises/SpiralMatrix.cs +45 -0
- data/tracks/csharp/generators/Exercises/Sublist.cs +4 -5
- data/tracks/csharp/generators/Exercises/SumOfMultiples.cs +10 -1
- data/tracks/csharp/generators/Exercises/Tournament.cs +11 -19
- data/tracks/csharp/generators/Exercises/Transpose.cs +2 -2
- data/tracks/csharp/generators/Exercises/Triangle.cs +1 -3
- data/tracks/csharp/generators/Exercises/TwelveDays.cs +3 -4
- data/tracks/csharp/generators/Exercises/TwoBucket.cs +5 -5
- data/tracks/csharp/generators/Exercises/TwoFer.cs +11 -2
- data/tracks/csharp/generators/Exercises/VariableLengthQuantity.cs +44 -0
- data/tracks/csharp/generators/Exercises/Yacht.cs +11 -10
- data/tracks/csharp/generators/Exercises/ZebraPuzzle.cs +19 -0
- data/tracks/csharp/generators/GeneratorExercise.cs +6 -6
- data/tracks/csharp/generators/Input/CanonicalData.cs +6 -9
- data/tracks/csharp/generators/Input/CanonicalDataCase.cs +13 -46
- data/tracks/csharp/generators/Input/CanonicalDataCaseParser.cs +170 -0
- data/tracks/csharp/generators/Input/CanonicalDataFile.cs +1 -2
- data/tracks/csharp/generators/Input/CanonicalDataParser.cs +16 -12
- data/tracks/csharp/generators/Input/ConfigFile.cs +0 -5
- data/tracks/csharp/generators/Input/ConvertHelper.cs +20 -0
- data/tracks/csharp/generators/Output/Templates/_TestClassDisposable.liquid +14 -0
- data/tracks/csharp/generators/Output/TestMethodBodyData.cs +11 -14
- data/tracks/csharp/generators/Output/ValueFormatter.cs +20 -7
- data/tracks/delphi/config.json +22 -0
- data/tracks/delphi/exercises/grade-school/GradeSchool.dpr +60 -0
- data/tracks/delphi/exercises/grade-school/README.md +62 -0
- data/tracks/delphi/exercises/grade-school/uGradeSchoolExample.pas +134 -0
- data/tracks/delphi/exercises/grade-school/uGradeSchoolTest.pas +150 -0
- data/tracks/delphi/exercises/hamming/README.md +4 -3
- data/tracks/delphi/exercises/proverb/Proverb.dpr +60 -0
- data/tracks/delphi/exercises/proverb/README.md +44 -0
- data/tracks/delphi/exercises/proverb/uProverbExample.pas +60 -0
- data/tracks/delphi/exercises/proverb/uProverbTests.pas +124 -0
- data/tracks/go/exercises/bracket-push/README.md +3 -2
- data/tracks/go/exercises/bracket-push/cases_test.go +7 -2
- data/tracks/go/exercises/isbn-verifier/cases_test.go +4 -3
- data/tracks/go/exercises/yacht/cases_test.go +8 -2
- data/tracks/java/exercises/armstrong-numbers/README.md +1 -1
- data/tracks/java/exercises/binary-search-tree/src/test/java/BinarySearchTreeTest.java +22 -22
- data/tracks/java/exercises/bracket-push/README.md +3 -2
- data/tracks/java/exercises/crypto-square/README.md +23 -19
- data/tracks/java/exercises/grade-school/src/test/java/SchoolTest.java +1 -1
- data/tracks/java/exercises/poker/.meta/{version.txt → version} +0 -0
- data/tracks/java/exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java +7 -7
- data/tracks/java/exercises/rail-fence-cipher/.meta/version +1 -0
- data/tracks/java/exercises/robot-simulator/src/test/java/RobotTest.java +45 -45
- data/tracks/nim/config.json +24 -0
- data/tracks/nim/exercises/armstrong-numbers/README.md +18 -0
- data/tracks/nim/exercises/armstrong-numbers/armstrong_number_test.nim +29 -0
- data/tracks/nim/exercises/armstrong-numbers/example.nim +11 -0
- data/tracks/nim/exercises/leap/leap_test.nim +12 -10
- data/tracks/nim/exercises/two-fer/README.md +19 -0
- data/tracks/nim/exercises/two-fer/example.nim +3 -0
- data/tracks/nim/exercises/two-fer/two_fer_test.nim +16 -0
- data/tracks/python/.travis.yml +0 -1
- data/tracks/python/README.md +1 -1
- data/tracks/python/config/exercise_readme.go.tmpl +1 -1
- data/tracks/python/docs/INSTALLATION.md +1 -1
- data/tracks/python/exercises/accumulate/README.md +1 -1
- data/tracks/python/exercises/acronym/README.md +1 -1
- data/tracks/python/exercises/all-your-base/README.md +1 -1
- data/tracks/python/exercises/allergies/README.md +1 -1
- data/tracks/python/exercises/alphametics/README.md +1 -1
- data/tracks/python/exercises/anagram/README.md +1 -1
- data/tracks/python/exercises/armstrong-numbers/README.md +2 -2
- data/tracks/python/exercises/atbash-cipher/README.md +1 -1
- data/tracks/python/exercises/bank-account/README.md +1 -1
- data/tracks/python/exercises/beer-song/README.md +1 -1
- data/tracks/python/exercises/binary-search-tree/README.md +1 -1
- data/tracks/python/exercises/binary-search/README.md +1 -1
- data/tracks/python/exercises/binary/README.md +1 -1
- data/tracks/python/exercises/bob/README.md +1 -1
- data/tracks/python/exercises/book-store/README.md +1 -1
- data/tracks/python/exercises/bowling/README.md +1 -1
- data/tracks/python/exercises/bracket-push/README.md +4 -3
- data/tracks/python/exercises/change/README.md +1 -1
- data/tracks/python/exercises/circular-buffer/README.md +1 -1
- data/tracks/python/exercises/clock/README.md +1 -1
- data/tracks/python/exercises/collatz-conjecture/README.md +1 -1
- data/tracks/python/exercises/complex-numbers/README.md +1 -1
- data/tracks/python/exercises/connect/README.md +1 -1
- data/tracks/python/exercises/crypto-square/README.md +1 -1
- data/tracks/python/exercises/custom-set/README.md +1 -1
- data/tracks/python/exercises/diamond/README.md +1 -1
- data/tracks/python/exercises/difference-of-squares/README.md +1 -1
- data/tracks/python/exercises/diffie-hellman/README.md +1 -1
- data/tracks/python/exercises/dominoes/README.md +1 -1
- data/tracks/python/exercises/dot-dsl/README.md +1 -1
- data/tracks/python/exercises/error-handling/README.md +1 -1
- data/tracks/python/exercises/etl/README.md +1 -1
- data/tracks/python/exercises/flatten-array/README.md +1 -1
- data/tracks/python/exercises/food-chain/README.md +1 -1
- data/tracks/python/exercises/forth/README.md +1 -1
- data/tracks/python/exercises/gigasecond/README.md +1 -1
- data/tracks/python/exercises/go-counting/README.md +1 -1
- data/tracks/python/exercises/grade-school/README.md +1 -1
- data/tracks/python/exercises/grains/README.md +1 -1
- data/tracks/python/exercises/grep/README.md +1 -1
- data/tracks/python/exercises/hamming/README.md +1 -1
- data/tracks/python/exercises/hello-world/README.md +1 -1
- data/tracks/python/exercises/hexadecimal/README.md +1 -1
- data/tracks/python/exercises/house/README.md +1 -1
- data/tracks/python/exercises/isbn-verifier/README.md +1 -1
- data/tracks/python/exercises/isogram/README.md +1 -1
- data/tracks/python/exercises/kindergarten-garden/README.md +1 -1
- data/tracks/python/exercises/largest-series-product/README.md +1 -1
- data/tracks/python/exercises/leap/README.md +1 -1
- data/tracks/python/exercises/linked-list/README.md +1 -1
- data/tracks/python/exercises/list-ops/README.md +1 -1
- data/tracks/python/exercises/luhn/README.md +1 -1
- data/tracks/python/exercises/markdown/README.md +1 -1
- data/tracks/python/exercises/matrix/README.md +1 -1
- data/tracks/python/exercises/meetup/README.md +1 -1
- data/tracks/python/exercises/minesweeper/README.md +1 -1
- data/tracks/python/exercises/nth-prime/README.md +1 -1
- data/tracks/python/exercises/nucleotide-count/README.md +1 -1
- data/tracks/python/exercises/ocr-numbers/README.md +1 -1
- data/tracks/python/exercises/octal/README.md +1 -1
- data/tracks/python/exercises/palindrome-products/README.md +1 -1
- data/tracks/python/exercises/pangram/README.md +1 -1
- data/tracks/python/exercises/parallel-letter-frequency/README.md +1 -1
- data/tracks/python/exercises/pascals-triangle/README.md +1 -1
- data/tracks/python/exercises/perfect-numbers/README.md +1 -1
- data/tracks/python/exercises/phone-number/README.md +1 -1
- data/tracks/python/exercises/pig-latin/README.md +1 -1
- data/tracks/python/exercises/point-mutations/README.md +1 -1
- data/tracks/python/exercises/poker/README.md +1 -1
- data/tracks/python/exercises/pov/README.md +1 -1
- data/tracks/python/exercises/prime-factors/README.md +1 -1
- data/tracks/python/exercises/protein-translation/README.md +1 -1
- data/tracks/python/exercises/proverb/README.md +1 -1
- data/tracks/python/exercises/pythagorean-triplet/README.md +1 -1
- data/tracks/python/exercises/queen-attack/README.md +1 -1
- data/tracks/python/exercises/rail-fence-cipher/README.md +1 -1
- data/tracks/python/exercises/raindrops/README.md +1 -1
- data/tracks/python/exercises/rational-numbers/README.md +1 -1
- data/tracks/python/exercises/react/README.md +1 -1
- data/tracks/python/exercises/rectangles/README.md +1 -1
- data/tracks/python/exercises/reverse-string/README.md +1 -1
- data/tracks/python/exercises/rna-transcription/README.md +1 -1
- data/tracks/python/exercises/robot-name/README.md +1 -1
- data/tracks/python/exercises/robot-simulator/README.md +1 -1
- data/tracks/python/exercises/roman-numerals/README.md +1 -1
- data/tracks/python/exercises/rotational-cipher/README.md +1 -1
- data/tracks/python/exercises/run-length-encoding/README.md +1 -1
- data/tracks/python/exercises/saddle-points/README.md +1 -1
- data/tracks/python/exercises/say/README.md +1 -1
- data/tracks/python/exercises/scale-generator/README.md +1 -1
- data/tracks/python/exercises/scrabble-score/README.md +1 -1
- data/tracks/python/exercises/secret-handshake/README.md +1 -1
- data/tracks/python/exercises/series/README.md +1 -1
- data/tracks/python/exercises/sgf-parsing/README.md +1 -1
- data/tracks/python/exercises/sieve/README.md +1 -1
- data/tracks/python/exercises/simple-cipher/README.md +1 -1
- data/tracks/python/exercises/simple-linked-list/README.md +1 -1
- data/tracks/python/exercises/space-age/README.md +1 -1
- data/tracks/python/exercises/spiral-matrix/README.md +1 -1
- data/tracks/python/exercises/strain/README.md +1 -1
- data/tracks/python/exercises/sublist/README.md +1 -1
- data/tracks/python/exercises/sum-of-multiples/README.md +1 -1
- data/tracks/python/exercises/tournament/README.md +1 -1
- data/tracks/python/exercises/transpose/README.md +1 -1
- data/tracks/python/exercises/tree-building/README.md +1 -1
- data/tracks/python/exercises/triangle/README.md +1 -1
- data/tracks/python/exercises/trinary/README.md +1 -1
- data/tracks/python/exercises/twelve-days/README.md +1 -1
- data/tracks/python/exercises/two-bucket/README.md +1 -1
- data/tracks/python/exercises/two-fer/README.md +1 -1
- data/tracks/python/exercises/variable-length-quantity/README.md +1 -1
- data/tracks/python/exercises/word-count/README.md +1 -1
- data/tracks/python/exercises/word-search/README.md +1 -1
- data/tracks/python/exercises/wordy/README.md +1 -1
- data/tracks/python/exercises/yacht/README.md +1 -1
- data/tracks/python/exercises/zebra-puzzle/README.md +1 -1
- data/tracks/python/exercises/zipper/README.md +1 -1
- data/tracks/python/requirements-travis.txt +1 -1
- data/tracks/swift/exercises/scale-generator/Tests/ScaleGeneratorTests/ScaleGeneratorTests.swift +1 -1
- metadata +32 -8
- data/tracks/csharp/generators/Input/CanonicalDataCaseJson.cs +0 -73
- data/tracks/csharp/generators/Input/CanonicalDataCaseJsonConverter.cs +0 -49
- data/tracks/csharp/generators/Input/CanonicalDataCasesJson.cs +0 -58
- data/tracks/csharp/generators/Input/CanonicalDataCasesJsonConverter.cs +0 -17
- data/tracks/java/exercises/go-counting/src/main/java/.keep +0 -0
@@ -34,15 +34,20 @@ public static class House
|
|
34
34
|
""
|
35
35
|
};
|
36
36
|
|
37
|
+
public static string Recite(int verseNumber)
|
38
|
+
{
|
39
|
+
return Recite(verseNumber, verseNumber);
|
40
|
+
}
|
41
|
+
|
37
42
|
public static string Recite(int startVerse, int endVerse)
|
38
43
|
{
|
39
44
|
var numberOfVerses = endVerse - startVerse + 1;
|
40
|
-
return string.Join("\n
|
45
|
+
return string.Join("\n", Enumerable.Range(startVerse, numberOfVerses).Select(Verse));
|
41
46
|
}
|
42
47
|
|
43
48
|
private static string Verse(int number)
|
44
49
|
{
|
45
|
-
return string.Join("
|
50
|
+
return string.Join(" ", Enumerable.Range(1, number).Reverse().Select(index => Line(number, index)));
|
46
51
|
}
|
47
52
|
|
48
53
|
private static string Line(int number, int index)
|
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
public static class House
|
4
4
|
{
|
5
|
+
public static string Recite(int verseNumber)
|
6
|
+
{
|
7
|
+
throw new NotImplementedException("You need to implement this function.");
|
8
|
+
}
|
9
|
+
|
5
10
|
public static string Recite(int startVerse, int endVerse)
|
6
11
|
{
|
7
12
|
throw new NotImplementedException("You need to implement this function.");
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// This file was auto-generated based on version 2.
|
1
|
+
// This file was auto-generated based on version 2.2.0 of the canonical data.
|
2
2
|
|
3
3
|
using Xunit;
|
4
4
|
|
@@ -8,201 +8,95 @@ public class HouseTest
|
|
8
8
|
public void Verse_one_the_house_that_jack_built()
|
9
9
|
{
|
10
10
|
var expected = "This is the house that Jack built.";
|
11
|
-
Assert.Equal(expected, House.Recite(1
|
11
|
+
Assert.Equal(expected, House.Recite(1));
|
12
12
|
}
|
13
13
|
|
14
14
|
[Fact(Skip = "Remove to run test")]
|
15
15
|
public void Verse_two_the_malt_that_lay()
|
16
16
|
{
|
17
|
-
var expected =
|
18
|
-
|
19
|
-
"that lay in the house that Jack built.";
|
20
|
-
Assert.Equal(expected, House.Recite(2, 2));
|
17
|
+
var expected = "This is the malt that lay in the house that Jack built.";
|
18
|
+
Assert.Equal(expected, House.Recite(2));
|
21
19
|
}
|
22
20
|
|
23
21
|
[Fact(Skip = "Remove to run test")]
|
24
22
|
public void Verse_three_the_rat_that_ate()
|
25
23
|
{
|
26
|
-
var expected =
|
27
|
-
|
28
|
-
"that ate the malt\n" +
|
29
|
-
"that lay in the house that Jack built.";
|
30
|
-
Assert.Equal(expected, House.Recite(3, 3));
|
24
|
+
var expected = "This is the rat that ate the malt that lay in the house that Jack built.";
|
25
|
+
Assert.Equal(expected, House.Recite(3));
|
31
26
|
}
|
32
27
|
|
33
28
|
[Fact(Skip = "Remove to run test")]
|
34
29
|
public void Verse_four_the_cat_that_killed()
|
35
30
|
{
|
36
|
-
var expected =
|
37
|
-
|
38
|
-
"that killed the rat\n" +
|
39
|
-
"that ate the malt\n" +
|
40
|
-
"that lay in the house that Jack built.";
|
41
|
-
Assert.Equal(expected, House.Recite(4, 4));
|
31
|
+
var expected = "This is the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
32
|
+
Assert.Equal(expected, House.Recite(4));
|
42
33
|
}
|
43
34
|
|
44
35
|
[Fact(Skip = "Remove to run test")]
|
45
36
|
public void Verse_five_the_dog_that_worried()
|
46
37
|
{
|
47
|
-
var expected =
|
48
|
-
|
49
|
-
"that worried the cat\n" +
|
50
|
-
"that killed the rat\n" +
|
51
|
-
"that ate the malt\n" +
|
52
|
-
"that lay in the house that Jack built.";
|
53
|
-
Assert.Equal(expected, House.Recite(5, 5));
|
38
|
+
var expected = "This is the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
39
|
+
Assert.Equal(expected, House.Recite(5));
|
54
40
|
}
|
55
41
|
|
56
42
|
[Fact(Skip = "Remove to run test")]
|
57
43
|
public void Verse_six_the_cow_with_the_crumpled_horn()
|
58
44
|
{
|
59
|
-
var expected =
|
60
|
-
|
61
|
-
"that tossed the dog\n" +
|
62
|
-
"that worried the cat\n" +
|
63
|
-
"that killed the rat\n" +
|
64
|
-
"that ate the malt\n" +
|
65
|
-
"that lay in the house that Jack built.";
|
66
|
-
Assert.Equal(expected, House.Recite(6, 6));
|
45
|
+
var expected = "This is the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
46
|
+
Assert.Equal(expected, House.Recite(6));
|
67
47
|
}
|
68
48
|
|
69
49
|
[Fact(Skip = "Remove to run test")]
|
70
50
|
public void Verse_seven_the_maiden_all_forlorn()
|
71
51
|
{
|
72
|
-
var expected =
|
73
|
-
|
74
|
-
"that milked the cow with the crumpled horn\n" +
|
75
|
-
"that tossed the dog\n" +
|
76
|
-
"that worried the cat\n" +
|
77
|
-
"that killed the rat\n" +
|
78
|
-
"that ate the malt\n" +
|
79
|
-
"that lay in the house that Jack built.";
|
80
|
-
Assert.Equal(expected, House.Recite(7, 7));
|
52
|
+
var expected = "This is the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
53
|
+
Assert.Equal(expected, House.Recite(7));
|
81
54
|
}
|
82
55
|
|
83
56
|
[Fact(Skip = "Remove to run test")]
|
84
57
|
public void Verse_eight_the_man_all_tattered_and_torn()
|
85
58
|
{
|
86
|
-
var expected =
|
87
|
-
|
88
|
-
"that kissed the maiden all forlorn\n" +
|
89
|
-
"that milked the cow with the crumpled horn\n" +
|
90
|
-
"that tossed the dog\n" +
|
91
|
-
"that worried the cat\n" +
|
92
|
-
"that killed the rat\n" +
|
93
|
-
"that ate the malt\n" +
|
94
|
-
"that lay in the house that Jack built.";
|
95
|
-
Assert.Equal(expected, House.Recite(8, 8));
|
59
|
+
var expected = "This is the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
60
|
+
Assert.Equal(expected, House.Recite(8));
|
96
61
|
}
|
97
62
|
|
98
63
|
[Fact(Skip = "Remove to run test")]
|
99
64
|
public void Verse_nine_the_priest_all_shaven_and_shorn()
|
100
65
|
{
|
101
|
-
var expected =
|
102
|
-
|
103
|
-
"that married the man all tattered and torn\n" +
|
104
|
-
"that kissed the maiden all forlorn\n" +
|
105
|
-
"that milked the cow with the crumpled horn\n" +
|
106
|
-
"that tossed the dog\n" +
|
107
|
-
"that worried the cat\n" +
|
108
|
-
"that killed the rat\n" +
|
109
|
-
"that ate the malt\n" +
|
110
|
-
"that lay in the house that Jack built.";
|
111
|
-
Assert.Equal(expected, House.Recite(9, 9));
|
66
|
+
var expected = "This is the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
67
|
+
Assert.Equal(expected, House.Recite(9));
|
112
68
|
}
|
113
69
|
|
114
70
|
[Fact(Skip = "Remove to run test")]
|
115
71
|
public void Verse_10_the_rooster_that_crowed_in_the_morn()
|
116
72
|
{
|
117
|
-
var expected =
|
118
|
-
|
119
|
-
"that woke the priest all shaven and shorn\n" +
|
120
|
-
"that married the man all tattered and torn\n" +
|
121
|
-
"that kissed the maiden all forlorn\n" +
|
122
|
-
"that milked the cow with the crumpled horn\n" +
|
123
|
-
"that tossed the dog\n" +
|
124
|
-
"that worried the cat\n" +
|
125
|
-
"that killed the rat\n" +
|
126
|
-
"that ate the malt\n" +
|
127
|
-
"that lay in the house that Jack built.";
|
128
|
-
Assert.Equal(expected, House.Recite(10, 10));
|
73
|
+
var expected = "This is the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
74
|
+
Assert.Equal(expected, House.Recite(10));
|
129
75
|
}
|
130
76
|
|
131
77
|
[Fact(Skip = "Remove to run test")]
|
132
78
|
public void Verse_11_the_farmer_sowing_his_corn()
|
133
79
|
{
|
134
|
-
var expected =
|
135
|
-
|
136
|
-
"that kept the rooster that crowed in the morn\n" +
|
137
|
-
"that woke the priest all shaven and shorn\n" +
|
138
|
-
"that married the man all tattered and torn\n" +
|
139
|
-
"that kissed the maiden all forlorn\n" +
|
140
|
-
"that milked the cow with the crumpled horn\n" +
|
141
|
-
"that tossed the dog\n" +
|
142
|
-
"that worried the cat\n" +
|
143
|
-
"that killed the rat\n" +
|
144
|
-
"that ate the malt\n" +
|
145
|
-
"that lay in the house that Jack built.";
|
146
|
-
Assert.Equal(expected, House.Recite(11, 11));
|
80
|
+
var expected = "This is the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
81
|
+
Assert.Equal(expected, House.Recite(11));
|
147
82
|
}
|
148
83
|
|
149
84
|
[Fact(Skip = "Remove to run test")]
|
150
85
|
public void Verse_12_the_horse_and_the_hound_and_the_horn()
|
151
86
|
{
|
152
|
-
var expected =
|
153
|
-
|
154
|
-
"that belonged to the farmer sowing his corn\n" +
|
155
|
-
"that kept the rooster that crowed in the morn\n" +
|
156
|
-
"that woke the priest all shaven and shorn\n" +
|
157
|
-
"that married the man all tattered and torn\n" +
|
158
|
-
"that kissed the maiden all forlorn\n" +
|
159
|
-
"that milked the cow with the crumpled horn\n" +
|
160
|
-
"that tossed the dog\n" +
|
161
|
-
"that worried the cat\n" +
|
162
|
-
"that killed the rat\n" +
|
163
|
-
"that ate the malt\n" +
|
164
|
-
"that lay in the house that Jack built.";
|
165
|
-
Assert.Equal(expected, House.Recite(12, 12));
|
87
|
+
var expected = "This is the horse and the hound and the horn that belonged to the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
88
|
+
Assert.Equal(expected, House.Recite(12));
|
166
89
|
}
|
167
90
|
|
168
91
|
[Fact(Skip = "Remove to run test")]
|
169
92
|
public void Multiple_verses()
|
170
93
|
{
|
171
94
|
var expected =
|
172
|
-
"This is the cat
|
173
|
-
"that killed the rat
|
174
|
-
"that ate the malt
|
175
|
-
"that lay in the house that Jack built.\n" +
|
176
|
-
"
|
177
|
-
"This is the dog\n" +
|
178
|
-
"that worried the cat\n" +
|
179
|
-
"that killed the rat\n" +
|
180
|
-
"that ate the malt\n" +
|
181
|
-
"that lay in the house that Jack built.\n" +
|
182
|
-
"\n" +
|
183
|
-
"This is the cow with the crumpled horn\n" +
|
184
|
-
"that tossed the dog\n" +
|
185
|
-
"that worried the cat\n" +
|
186
|
-
"that killed the rat\n" +
|
187
|
-
"that ate the malt\n" +
|
188
|
-
"that lay in the house that Jack built.\n" +
|
189
|
-
"\n" +
|
190
|
-
"This is the maiden all forlorn\n" +
|
191
|
-
"that milked the cow with the crumpled horn\n" +
|
192
|
-
"that tossed the dog\n" +
|
193
|
-
"that worried the cat\n" +
|
194
|
-
"that killed the rat\n" +
|
195
|
-
"that ate the malt\n" +
|
196
|
-
"that lay in the house that Jack built.\n" +
|
197
|
-
"\n" +
|
198
|
-
"This is the man all tattered and torn\n" +
|
199
|
-
"that kissed the maiden all forlorn\n" +
|
200
|
-
"that milked the cow with the crumpled horn\n" +
|
201
|
-
"that tossed the dog\n" +
|
202
|
-
"that worried the cat\n" +
|
203
|
-
"that killed the rat\n" +
|
204
|
-
"that ate the malt\n" +
|
205
|
-
"that lay in the house that Jack built.";
|
95
|
+
"This is the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
96
|
+
"This is the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
97
|
+
"This is the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
98
|
+
"This is the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
99
|
+
"This is the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
206
100
|
Assert.Equal(expected, House.Recite(4, 8));
|
207
101
|
}
|
208
102
|
|
@@ -211,94 +105,17 @@ public void Full_rhyme()
|
|
211
105
|
{
|
212
106
|
var expected =
|
213
107
|
"This is the house that Jack built.\n" +
|
214
|
-
"
|
215
|
-
"This is the malt
|
216
|
-
"that lay in the house that Jack built.\n" +
|
217
|
-
"
|
218
|
-
"This is the rat
|
219
|
-
"that ate the malt
|
220
|
-
"that lay in the house that Jack built.\n" +
|
221
|
-
"
|
222
|
-
"This is the cat
|
223
|
-
"that killed the rat
|
224
|
-
"that ate the malt
|
225
|
-
"that lay in the house that Jack built.\n" +
|
226
|
-
"\n" +
|
227
|
-
"This is the dog\n" +
|
228
|
-
"that worried the cat\n" +
|
229
|
-
"that killed the rat\n" +
|
230
|
-
"that ate the malt\n" +
|
231
|
-
"that lay in the house that Jack built.\n" +
|
232
|
-
"\n" +
|
233
|
-
"This is the cow with the crumpled horn\n" +
|
234
|
-
"that tossed the dog\n" +
|
235
|
-
"that worried the cat\n" +
|
236
|
-
"that killed the rat\n" +
|
237
|
-
"that ate the malt\n" +
|
238
|
-
"that lay in the house that Jack built.\n" +
|
239
|
-
"\n" +
|
240
|
-
"This is the maiden all forlorn\n" +
|
241
|
-
"that milked the cow with the crumpled horn\n" +
|
242
|
-
"that tossed the dog\n" +
|
243
|
-
"that worried the cat\n" +
|
244
|
-
"that killed the rat\n" +
|
245
|
-
"that ate the malt\n" +
|
246
|
-
"that lay in the house that Jack built.\n" +
|
247
|
-
"\n" +
|
248
|
-
"This is the man all tattered and torn\n" +
|
249
|
-
"that kissed the maiden all forlorn\n" +
|
250
|
-
"that milked the cow with the crumpled horn\n" +
|
251
|
-
"that tossed the dog\n" +
|
252
|
-
"that worried the cat\n" +
|
253
|
-
"that killed the rat\n" +
|
254
|
-
"that ate the malt\n" +
|
255
|
-
"that lay in the house that Jack built.\n" +
|
256
|
-
"\n" +
|
257
|
-
"This is the priest all shaven and shorn\n" +
|
258
|
-
"that married the man all tattered and torn\n" +
|
259
|
-
"that kissed the maiden all forlorn\n" +
|
260
|
-
"that milked the cow with the crumpled horn\n" +
|
261
|
-
"that tossed the dog\n" +
|
262
|
-
"that worried the cat\n" +
|
263
|
-
"that killed the rat\n" +
|
264
|
-
"that ate the malt\n" +
|
265
|
-
"that lay in the house that Jack built.\n" +
|
266
|
-
"\n" +
|
267
|
-
"This is the rooster that crowed in the morn\n" +
|
268
|
-
"that woke the priest all shaven and shorn\n" +
|
269
|
-
"that married the man all tattered and torn\n" +
|
270
|
-
"that kissed the maiden all forlorn\n" +
|
271
|
-
"that milked the cow with the crumpled horn\n" +
|
272
|
-
"that tossed the dog\n" +
|
273
|
-
"that worried the cat\n" +
|
274
|
-
"that killed the rat\n" +
|
275
|
-
"that ate the malt\n" +
|
276
|
-
"that lay in the house that Jack built.\n" +
|
277
|
-
"\n" +
|
278
|
-
"This is the farmer sowing his corn\n" +
|
279
|
-
"that kept the rooster that crowed in the morn\n" +
|
280
|
-
"that woke the priest all shaven and shorn\n" +
|
281
|
-
"that married the man all tattered and torn\n" +
|
282
|
-
"that kissed the maiden all forlorn\n" +
|
283
|
-
"that milked the cow with the crumpled horn\n" +
|
284
|
-
"that tossed the dog\n" +
|
285
|
-
"that worried the cat\n" +
|
286
|
-
"that killed the rat\n" +
|
287
|
-
"that ate the malt\n" +
|
288
|
-
"that lay in the house that Jack built.\n" +
|
289
|
-
"\n" +
|
290
|
-
"This is the horse and the hound and the horn\n" +
|
291
|
-
"that belonged to the farmer sowing his corn\n" +
|
292
|
-
"that kept the rooster that crowed in the morn\n" +
|
293
|
-
"that woke the priest all shaven and shorn\n" +
|
294
|
-
"that married the man all tattered and torn\n" +
|
295
|
-
"that kissed the maiden all forlorn\n" +
|
296
|
-
"that milked the cow with the crumpled horn\n" +
|
297
|
-
"that tossed the dog\n" +
|
298
|
-
"that worried the cat\n" +
|
299
|
-
"that killed the rat\n" +
|
300
|
-
"that ate the malt\n" +
|
301
|
-
"that lay in the house that Jack built.";
|
108
|
+
"This is the malt that lay in the house that Jack built.\n" +
|
109
|
+
"This is the rat that ate the malt that lay in the house that Jack built.\n" +
|
110
|
+
"This is the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
111
|
+
"This is the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
112
|
+
"This is the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
113
|
+
"This is the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
114
|
+
"This is the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
115
|
+
"This is the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
116
|
+
"This is the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
117
|
+
"This is the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.\n" +
|
118
|
+
"This is the horse and the hound and the horn that belonged to the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.";
|
302
119
|
Assert.Equal(expected, House.Recite(1, 12));
|
303
120
|
}
|
304
121
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// This file was auto-generated based on version 2.
|
1
|
+
// This file was auto-generated based on version 2.4.0 of the canonical data.
|
2
2
|
|
3
3
|
using Xunit;
|
4
4
|
|
@@ -31,7 +31,7 @@ public void Check_digit_is_a_character_other_than_x()
|
|
31
31
|
[Fact(Skip = "Remove to run test")]
|
32
32
|
public void Invalid_character_in_isbn()
|
33
33
|
{
|
34
|
-
Assert.False(IsbnVerifier.IsValid("3-598-
|
34
|
+
Assert.False(IsbnVerifier.IsValid("3-598-P1581-X"));
|
35
35
|
}
|
36
36
|
|
37
37
|
[Fact(Skip = "Remove to run test")]
|
@@ -81,4 +81,16 @@ public void Check_digit_of_x_should_not_be_used_for_0()
|
|
81
81
|
{
|
82
82
|
Assert.False(IsbnVerifier.IsValid("3-598-21515-X"));
|
83
83
|
}
|
84
|
+
|
85
|
+
[Fact(Skip = "Remove to run test")]
|
86
|
+
public void Empty_isbn()
|
87
|
+
{
|
88
|
+
Assert.False(IsbnVerifier.IsValid(""));
|
89
|
+
}
|
90
|
+
|
91
|
+
[Fact(Skip = "Remove to run test")]
|
92
|
+
public void Input_is_9_characters()
|
93
|
+
{
|
94
|
+
Assert.False(IsbnVerifier.IsValid("134456729"));
|
95
|
+
}
|
84
96
|
}
|