File: 17_concat.t

package info (click to toggle)
libperlude-perl 0.61-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 360 kB
  • sloc: perl: 903; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 238 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/perl
use strict;
use warnings;
use Test::More 'no_plan';
use Perlude::Lazy;
use autodie;

my $got = [fold concat range(1,4), range(5,10)]; 
my $expected = [1..10];

is_deeply ($got, $expected, "contat ranges works fine");