mirror of
https://github.com/Z3Prover/z3
synced 2026-01-20 01:03:20 +00:00
Remove power and infinitesimal comparison tests
Removed tests for power and infinitesimal comparisons.
This commit is contained in:
parent
2cc08ffe6b
commit
efa6bba5d4
1 changed files with 0 additions and 14 deletions
|
|
@ -2081,12 +2081,6 @@ describe('high-level', () => {
|
|||
expect(decimal.length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
it('should perform power', () => {
|
||||
const a = RCFNum(2);
|
||||
const squared = a.power(2);
|
||||
expect(squared.toString()).toContain('4');
|
||||
});
|
||||
|
||||
it('should compare with lt', () => {
|
||||
const a = RCFNum(1);
|
||||
const b = RCFNum(2);
|
||||
|
|
@ -2218,13 +2212,5 @@ describe('high-level', () => {
|
|||
expect(decimal5.length).toBeGreaterThan(0);
|
||||
expect(decimal10.length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
it('should work with infinitesimal comparisons', () => {
|
||||
const eps = RCFNum.infinitesimal();
|
||||
const tiny = RCFNum('1/1000000');
|
||||
|
||||
// Infinitesimal should be smaller than any positive real
|
||||
expect(eps.lt(tiny)).toBe(true);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue