Skip to content

Commit

Permalink
Add jest. Implement ShellSort with tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
HamsterCoder committed Sep 18, 2023
1 parent 4eeae0e commit 7ddbf24
Show file tree
Hide file tree
Showing 9 changed files with 3,897 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules/
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,15 @@

This repository contains implementations of some data structures and algorithms. It serves the purpose of reference. Probable not production ready.

### What do you have

* Shell Sort
* Knuth Shuffle

## Development

Testcases are created with `jest`. Run testcases:

```
npm run test
```
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 7ddbf24

Please sign in to comment.