aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-01-28 20:20:09 +0100
committerAbigail <abigail@abigail.be>2021-03-04 18:57:11 +0100
commit912bc4dc8f324430a494354ddb13785760505509 (patch)
tree2081b2e9d4808807f16e5dc886e442f994b2ec86
parent76a84a5b39330aa3a911eb7bccb1402503557072 (diff)
downloadperlweeklychallenge-club-912bc4dc8f324430a494354ddb13785760505509.tar.gz
perlweeklychallenge-club-912bc4dc8f324430a494354ddb13785760505509.tar.bz2
perlweeklychallenge-club-912bc4dc8f324430a494354ddb13785760505509.zip
Example for week 4, part 1.
Example for source code of 1978 characters.
-rw-r--r--challenge-004/abigail/t/ctest.ini12
-rw-r--r--challenge-004/abigail/t/input-1-20
-rw-r--r--challenge-004/abigail/t/output-1-2.exp1
3 files changed, 11 insertions, 2 deletions
diff --git a/challenge-004/abigail/t/ctest.ini b/challenge-004/abigail/t/ctest.ini
index cc54efbe63..c3ee0bbf5e 100644
--- a/challenge-004/abigail/t/ctest.ini
+++ b/challenge-004/abigail/t/ctest.ini
@@ -1,6 +1,14 @@
[names]
-1-1 = Pi
+1-1 = Pi, 1485 digits
+1-2 = Pi, 1978 digits
-[1-1]
+[1-1,1-2]
no_input = 1
+
+
+[1-1/c]
+skip = Program size is different
+
+[1-2/perl]
+skip = Program size is different
diff --git a/challenge-004/abigail/t/input-1-2 b/challenge-004/abigail/t/input-1-2
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/challenge-004/abigail/t/input-1-2
diff --git a/challenge-004/abigail/t/output-1-2.exp b/challenge-004/abigail/t/output-1-2.exp
new file mode 100644
index 0000000000..5be82f04d1
--- /dev/null
+++ b/challenge-004/abigail/t/output-1-2.exp
@@ -0,0 +1 @@
+3.14159265358979323846264338327950288419716939937510582097494459230781646286208998628034825342117067982148086513282306647938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072624914127372458700666315588174881520920962829254091715364367892590360113305305488204665213841469519415116094330572703657595919539218611738193261179310511854874462379962749567351885752724891227938183011949129833673362440656643086021394946395224737190702179860943702775392171762931767523846748184676694051325681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499515973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019893809525720106548586327886593615338182796823030195235301852968995773622599413891249721775283479131515574857242454150695950829533116861727855889075098381754637464939319255604009277167113900984882401285836160356370766010471018194295559619894676783744944825537977472684714047534646208046684259069491293313677028989152104752162056966024058038150193511253382430035587640247496473263914199272642699227967823547816360093417216412199245863150302861829745557067498385054945885869269956909272107975093029553211653449872027559623648066549911988183479775356636980742654252786255181841757467289097777279380008164706001614524919217321721477235014144197356854816136115735255213347574184946843852332397394143334547762416862518983569485562099219222184272550254256887671794946016534668049886272327917860857843838279679766814541009538837863609506800642251252051173929848968412848862694560424196528502221066118636744278622039194945471237137869609563643719172874677646575739624138986583264599581339047802759009