mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-16 10:55:09 +00:00
Port to (Turbo) Pascal. Feeling retro ;-)
This commit is contained in:
1 parent
6f972d0c5f
commit
e2b491b8c5
6 files changed
+385
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user