mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-10 11:09:43 +08: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…
Reference in New Issue
Block a user