From 2bfb0ea7c8780c0a418d2a04d756b9d5b5702b7b Mon Sep 17 00:00:00 2001 From: Ryan Potts Date: Mon, 16 Jan 2017 12:48:38 -0500 Subject: [PATCH] Update Fork (#5) * Resort config json (#52) Resorted by difficulty * Update saddle points (#51) Removed unnecessary information Only left a single hint that is pertinent to this exercise. --- exercises/saddle-points/uSaddlePointsExample.pas | 11 +++++++++++ exercises/saddle-points/uSaddlePointsTests.pas | 10 +++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/exercises/saddle-points/uSaddlePointsExample.pas b/exercises/saddle-points/uSaddlePointsExample.pas index 548d049d..53b249de 100644 --- a/exercises/saddle-points/uSaddlePointsExample.pas +++ b/exercises/saddle-points/uSaddlePointsExample.pas @@ -1,3 +1,14 @@ +//======================================================================== +// For this example solution I utilized Stefen Glienke's +// open-source code library titled Spring4D. Latest +// version is available here: https://bitbucket.org/sglienke/spring4d +// Spring4D is not absolutely necessary, but it does greatly help +// facilitate a much simpler solution. +// +// Spring4D does include a Tuple record type that I have purposely +// not used in favor of my own, simple, TTuple that I declared in the +// test runner, in order to remove Spring4D dependency for test execution +//======================================================================== unit uSaddlePoints; interface diff --git a/exercises/saddle-points/uSaddlePointsTests.pas b/exercises/saddle-points/uSaddlePointsTests.pas index ac435a44..a66700b5 100644 --- a/exercises/saddle-points/uSaddlePointsTests.pas +++ b/exercises/saddle-points/uSaddlePointsTests.pas @@ -1,3 +1,12 @@ +//****************************************************************** +// Hint: You will be using TTuple in your solution. TTuple is +// declared in this unit. It will be necessary for you to add +// a uses statement in the interface section of uSaddlePoints.pas. +// +// For more guidance as you work on this exercise, see +// GETTING_STARTED.md. +//****************************************************************** + unit uSaddlePointsTests; interface @@ -52,7 +61,6 @@ constructor TTuple.Create(Value1: T1; Value2: T2); fValue2 := Value2; end; - procedure TSaddlePointTests.Readme_example; var SaddlePoints: ISaddlePoints; values: TArray>;