1. Shlomi Fish
  2. project-euler

Commits

Shlomi Fish  committed a6a7f73

Add a test.

  • Participants
  • Parent commits 7b971e9
  • Branches default

Comments (0)

Files changed (1)

File project-euler/148/Test.bash

View file
  • Ignore whitespace
+#!/bin/bash
+n=49
+diff -u <(head -$n dump.txt | perl -lanE 'print $., ": ", y/Y/Y/') \
+    <(seq 1 "$n" | (while read i ; do echo "$i: $(perl calc-num-Y-in-row.pl "$i")" ; done))
+