feat: working through the dynamic testing portion of ligmata

This commit is contained in:
mpaulson 2022-06-23 10:29:59 -06:00
parent 8859e43ac9
commit 90fdc7aa06
9 changed files with 113 additions and 58 deletions

44
scripts/dsa.js Normal file
View file

@ -0,0 +1,44 @@
module.exports = {
ArrayList: {
type: "class",
name: "array-list.ts",
className: "ArrayList",
},
SinglyLinkedList: {
type: "class",
name: "single-linked-list.ts",
className: "LinkedList",
},
DoublyLinkedList: {
type: "class",
name: "doubly-linked-list.ts",
className: "LinkedList",
},
Queue: {
type: "class",
name: "queue",
className: "Queue",
},
Stack: {
type: "class",
name: "stack",
className: "Stack",
},
InsertionSort: {
type: "fn",
name: "insertion-sort.ts",
fn: "insertion_sort",
args: "arr: number[]",
"return": "void",
},
MergeSort: {
type: "fn",
name: "merge-sort.ts",
fn: "merge_sort",
args: "arr: number[]",
"return": "void",
},
};