MCPcopy
hub / github.com/josdejong/mathjs / compareString

Function compareString

test/unit-tests/function/algebra/derivative.test.js:15–17  ·  view source on GitHub ↗
(left, right)

Source from the content-addressed store, hash-verified

13 }
14
15 function compareString (left, right) {
16 assert.strictEqual(left.toString(), right.toString())
17 }
18
19 it('should take the derivative of a constant', function () {
20 compareString(derivativeWithoutSimplify('1', 'x'), '0')

Callers 1

derivative.test.jsFile · 0.85

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…