Skip to content
Ivan Semenkov edited this page Oct 16, 2021 · 12 revisions

Welcome to the libpasc-algorithms wiki!

libPasC-Algorithms is delphi and object pascal library of common data structures and algorithms. The library is based on the c-algorithms repository and it is a set of containers adapted for the Pascal language and the template system available on it.

Table of contents

Requirements

Library is tested for

  • Embarcadero (R) Delphi 10.3 on Windows 7 Service Pack 1 (Version 6.1, Build 7601, 64-bit Edition)
  • FreePascal Compiler (3.2.0) and Lazarus IDE (2.0.10) on Ubuntu Linux 5.8.0-33-generic x86_64

Installation

Get the sources and add the source directory to the project search path. For FPC add the source directory to the fpc.cfg file.

Usage

Clone the repository git clone https://github.com/isemenkov/libpasc-algorithms.

Add the unit you want to use to the uses clause.

Testing

A testing framework consists of the following ingredients:

  1. Test runner project located in unit-tests directory.
  2. Test cases (DUnit for Delphi and FPCUnit for FPC based) for all containers classes.
Clone this wiki locally