mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-12-08 19:06:00 +00:00
Fix typo in tree BFS testcase name (#542)
This commit is contained in:
parent
2ec7fe2f02
commit
ebd6ffd2c0
@ -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…
x
Reference in New Issue
Block a user