MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / fot

Function fot

test/compute-engine/rubi-utils.test.ts:247–248  ·  view source on GitHub ↗
(u: Json)

Source from the content-addressed store, hash-verified

245 expect(cond(['HalfIntegerQ', ['Rational', 3, 2]])).toBe(true);
246 expect(cond(['HalfIntegerQ', ['Rational', -1, 2]])).toBe(true);
247 expect(cond(['HalfIntegerQ', ['Rational', -5, 2]])).toBe(true);
248 // integers, other denominators, and non-rationals are NOT half-integers
249 expect(cond(['HalfIntegerQ', 2])).toBe(false);
250 expect(cond(['HalfIntegerQ', ['Rational', 1, 3]])).toBe(false);
251 expect(cond(['HalfIntegerQ', ['Rational', 1, 4]])).toBe(false);

Callers 1

rubi-utils.test.tsFile · 0.85

Calls 1

buildFunction · 0.90

Tested by

no test coverage detected