GildedRose-Refactoring-Kata/pascal
2017-12-08 15:53:56 +01:00
..
.gitignore Port to (Turbo) Pascal. Feeling retro ;-) 2017-12-08 15:53:56 +01:00
README.md Port to (Turbo) Pascal. Feeling retro ;-) 2017-12-08 15:53:56 +01:00
ROSE_T.PAS Port to (Turbo) Pascal. Feeling retro ;-) 2017-12-08 15:53:56 +01:00
ROSE.PAS Port to (Turbo) Pascal. Feeling retro ;-) 2017-12-08 15:53:56 +01:00
TEXTTEST.PAS Port to (Turbo) Pascal. Feeling retro ;-) 2017-12-08 15:53:56 +01:00
TPUNIT.PAS Port to (Turbo) Pascal. Feeling retro ;-) 2017-12-08 15:53:56 +01:00

Pascal port of the Gilded-Rose Kata

This is a (Turbo) Pascal port of the Gilded-Rose-Kata.

Building and Running

  • Compile the unit ROSE.PAS, this is the Gilded Rose Logic.
  • Compile the application TEXTTEST.PAS for the Texttest fixture.
  • Run TEXTTEST.

Unit Test

TPUNIT.PAS is a minimalist implementation of xUnit in Pascal style. There are several assertions available, e.g. AssertEquals, AssertEqualsStr, AssertTrue etc. It needs Far Calls enabled in compiler options.

  • First compile the unit TPUNIT.PAS.
  • Then compile application ROSE_T.PAS.
  • Run ROSE_T to run the tests.