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.159 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.158 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.157 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.156 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.155 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.154 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.153 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.152 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.151 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.150 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.149 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.148 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.147 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.146 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.145 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.144 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.143 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.142 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.141 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.140 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml