MCPcopy Create free account
hub / github.com/TheAlgorithms/JavaScript / CountSubstrings.test.js

File CountSubstrings.test.js

String/test/CountSubstrings.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { countSubstrings } from '../CountSubstrings'
2
3describe('CountSubstrings', () => {
4 it('count multiple occurrences of substring in a string', () => {

Callers

nothing calls this directly

Calls 1

countSubstringsFunction · 0.90

Tested by

no test coverage detected