Skip to content

Commit

Permalink
saddle-points 1.0.0.2: follow x-common
Browse files Browse the repository at this point in the history
Canonical data added in exercism/problem-specifications#756
  • Loading branch information
petertseng committed May 8, 2017
1 parent 152be15 commit 6230ed5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion exercises/saddle-points/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: saddle-points
version: 0.1.0.1
version: 1.0.0.2

dependencies:
- array
Expand Down
16 changes: 8 additions & 8 deletions exercises/saddle-points/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ specs = describe "saddle-points" $
, [5, 3, 2]
, [6, 6, 7] ], [(1, 0)] )

, ( "no saddle point", [ [2, 1]
, [1, 2] ], [] )
, ( "empty matrix has none", [], [] )

, ( "a saddle point", [ [1, 2]
, [3, 4] ], [(0, 1)] )

, ( "another saddle point", [ [18, 3, 39, 19, 91]
, [38, 10, 8, 77, 320]
, [ 3, 4, 8, 6, 7] ], [(2, 2)] )
, ( "no saddle point", [ [1, 2, 3]
, [3, 1, 2]
, [2, 3, 1] ], [] )

, ("multiple saddle points", [ [4, 5, 4]
, [3, 5, 5]
, [1, 5, 4] ], [ (0, 1)
, (1, 1)
, (2, 1) ] )
, ( "bottom-right corner", [ [8, 7, 9]
, [6, 7, 6]
, [3, 2, 5] ], [(2, 2)] )

]

0 comments on commit 6230ed5

Please sign in to comment.