MCPcopy Create free account
hub / github.com/KDE/labplot / testSixth_order1

Method testSixth_order1

tests/nsl/diff/NSLDiffTest.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void NSLDiffTest::testSixth_order1() {
125 double ydata[] = {1, 8, 64, 512, 4096, 32768, 262144};
126
127 int status = nsl_diff_sixth_deriv(dxdata, ydata, N, 1);
128 QCOMPARE(status, 0);
129 for (double d : ydata)
130 QCOMPARE(d + 1., 1.);
131}
132
133// ##############################################################################
134// ################# performance

Callers

nothing calls this directly

Calls 1

nsl_diff_sixth_derivFunction · 0.85

Tested by

no test coverage detected