Skip to content

Commit

Permalink
Fix SinglyLinkedList test and add to ligma.config
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrzaw committed Sep 18, 2022
1 parent c04ba25 commit c74ac60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ligma.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
"BinarySearchList",
"TwoCrystalBalls",
"BubbleSort",
"SinglyLinkedList",
"DoublyLinkedList",
"Queue",
"Stack",
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/SinglyLinkedList.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import LinkedList from "@code/SingleLinkedList";
import SinglyLinkedList from "@code/SinglyLinkedList";
import { test_list } from "./ListTest";

test("linked-list", function () {
const list = new LinkedList<number>(3);
const list = new SinglyLinkedList<number>();
test_list(list);
});

0 comments on commit c74ac60

Please sign in to comment.