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.139 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.138 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.137 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.136 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.135 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.134 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.133 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.132 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.131 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.130 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.129 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.128 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.127 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.126 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.125 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.124 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.123 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.122 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.121 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml
trackler-2.2.1.120 tracks/perl6/exercises/two-fer/.meta/exercise-data.yaml