Skip to content

Commit

Permalink
Update hello world (#53)
Browse files Browse the repository at this point in the history
* Exercise: saddle-points (#46)

* Config json (#48) (#2)

* Exercise: saddle-points (#46)

* Changed "Language" value

Changed it to Object Pascal from Pascal.  Curious to see if that affects
the language listing.

* implemented Ignores

* Updated basic help information
  • Loading branch information
rpottsoh authored and kotp committed Jan 18, 2017
1 parent 3d9b2b1 commit 4f78252
Showing 1 changed file with 27 additions and 23 deletions.
50 changes: 27 additions & 23 deletions exercises/hello-world/uTestHelloWorld.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
//*****************************************************************************
// You got an error, which is exactly as it should be.
// This is the first step in the Test-Driven Development
// (TDD) process.
//
// The most important part of the error is
//
// "cannot compile"
//
// It's looking for a file named uHelloWorld.pas that doesn't exist.
//
// To fix the error, create a unit file named uHelloWorld.pas
// in the same directory as the file uTestHelloWorld.pas.
//
// The beginning of the new unit file should contain a unit statement:
//
// unit uHelloWorld;
//
// The new unit should contain Interface, Implementation, and End. statements.
//
// Hint: Delphi will take care of all this if you instruct it to add a new unit
// to your project. Be sure to save the new unit as uHelloWorld.pas before
// trying to compile again.
//
// For more guidance as you work on this exercise, see
// GETTING_STARTED.md.
//*****************************************************************************
unit uTestHelloWorld;

interface
Expand Down Expand Up @@ -39,26 +66,3 @@ procedure HelloWorldTest.test_other_sample_name;
initialization
TDUnitX.RegisterTestFixture(HelloWorldTest);
end.

(*
*****************************************************
You got an error, which is exactly as it should be.
This is the first step in the Test-Driven Development
(TDD) process.
The most important part of the error is
"cannot compile"
It's looking for a file named uHelloWorld.pas that doesn't
exist yet.
To fix the error, create an empty file named uHelloWorld.pas
in the same directory as the uTestHelloWorld.pas file.
Then run the test again.
For more guidance as you work on this exercise, see
GETTING_STARTED.md.
*****************************************************
*)

0 comments on commit 4f78252

Please sign in to comment.