diff options
| author | Lubos Kolouch <lubos@kolouch.net> | 2020-09-28 13:17:45 +0200 |
|---|---|---|
| committer | Lubos Kolouch <lubos@kolouch.net> | 2020-09-28 13:17:45 +0200 |
| commit | 52e114caced4bd7e9588f3949d46fb3a04705a33 (patch) | |
| tree | 03fb15c0556936e7d8f2eee00f105da3f96f4e33 | |
| parent | aa14cbf8342e04b936f40bcc720a23a258137ecd (diff) | |
| download | perlweeklychallenge-club-52e114caced4bd7e9588f3949d46fb3a04705a33.tar.gz perlweeklychallenge-club-52e114caced4bd7e9588f3949d46fb3a04705a33.tar.bz2 perlweeklychallenge-club-52e114caced4bd7e9588f3949d46fb3a04705a33.zip | |
Chal 1 empty with tests
| -rw-r--r-- | challenge-080/lubos-kolouch/perl/ch_1.pl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/challenge-080/lubos-kolouch/perl/ch_1.pl b/challenge-080/lubos-kolouch/perl/ch_1.pl new file mode 100644 index 0000000000..0b712a913a --- /dev/null +++ b/challenge-080/lubos-kolouch/perl/ch_1.pl @@ -0,0 +1,29 @@ +#!/usr/bin/perl +#=============================================================================== +# +# FILE: ch_1.pl +# +# USAGE: ./ch_1.pl +# +# DESCRIPTION: https://perlweeklychallenge.org/blog/perl-weekly-challenge-080/ +# Challenge #1 +# Smallest Positive Number Bits +# +# AUTHOR: Lubos Kolouch +#=============================================================================== + +use strict; +use warnings; + +sub get_smallest_missing { + my $arr = shift; + +} + +use Test::More; + +is(get_smallest_missing([5, 2, -2, 0]), 1); +is(get_smallest_missing([1, 8, -1]), 1); +is(get_smallest_missing([2, 0, 1]), 1); + +done_testing; |
