Sha256: 4a2a2ef39c8140e3043433408076f59c75a1d28e274d73d0c17a724f27bd2f12

Contents?: true

Size: 1.32 KB

Versions: 78

Compression:

Stored size: 1.32 KB

Contents

exercise: TwoFer
version: 2
plan: 3
tests: |-
  # Go through the cases and check that &two-fer gives us the correct response.
  for $c-data<cases>.values {
    is .<input><name> ??
      two-fer(.<input><name>) !!
      two-fer,
      |.<expected description>;
  }

version_comment: The version we will be matching against the exercise.
lib_comment: Look for the module inside the same directory as this test file.
plan_comment: This is how many tests we expect to run.
version_test_comment: "If the exercise is updated, we want to make sure other people testing\nyour code don't think you've made a mistake if things have changed!"

unit: module
unit_comment: |-
  #`(
    This is a 'stub' file. It's a little start on your solution.
    It is not a complete solution though; you will have to write some code.

    The ':ver<>' adverb defines the version of a module or class.
    The version is checked in the test suite to ensure the exercise
    and test suite line up. If the test is updated, it will indicate
    to others who test your code that some tests may no longer pass.
  )
example: |-
  sub two-fer ($name = ‘you’) is export {
    “One for $name, one for me.”
  }
stub: |-
  sub two-fer ($name?) is export {
    # Write your solution to pass the test suite here.
    # Be sure to remove all stock comments once you are done!
  }

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.118 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.117 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.116 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.115 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.114 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.113 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.111 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.110 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.109 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.108 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.107 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.106 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.105 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.104 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.103 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.102 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.101 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml