mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-10 11:09:43 +08:00
Typo Fix in BFS test
This commit is contained in:
parent
477f30b0bd
commit
677146717d
@ -2,7 +2,7 @@ import BinaryTreeNode from '../../../../data-structures/tree/BinaryTreeNode';
|
|||||||
import breadthFirstSearch from '../breadthFirstSearch';
|
import breadthFirstSearch from '../breadthFirstSearch';
|
||||||
|
|
||||||
describe('breadthFirstSearch', () => {
|
describe('breadthFirstSearch', () => {
|
||||||
it('should perform DFS operation on tree', () => {
|
it('should perform BFS operation on tree', () => {
|
||||||
const nodeA = new BinaryTreeNode('A');
|
const nodeA = new BinaryTreeNode('A');
|
||||||
const nodeB = new BinaryTreeNode('B');
|
const nodeB = new BinaryTreeNode('B');
|
||||||
const nodeC = new BinaryTreeNode('C');
|
const nodeC = new BinaryTreeNode('C');
|
||||||
|
Loading…
Reference in New Issue
Block a user