Removing [U]Int[8|16|32|64] and Float[32|64] in favor of Number

This commit is contained in:
Mike Gray
2016-04-27 16:24:13 -04:00
parent f93af2ffc2
commit 47794ca754
104 changed files with 1030 additions and 2243 deletions

View File

@@ -3,7 +3,7 @@
import {suite, test} from 'mocha';
import {assert} from 'chai';
import {fastForward} from './ordered-sequence-diff.js';
import {makeCompoundType, int32Type} from './type.js';
import {makeCompoundType, numberType} from './type.js';
import {Kind} from './noms-kind.js';
import {newSet} from './set.js';
@@ -18,7 +18,7 @@ suite('OrderedSequenceCursor', () => {
};
const newMetaSequenceCursor = async (nums) => {
const tr = makeCompoundType(Kind.Set, int32Type);
const tr = makeCompoundType(Kind.Set, numberType);
const lst = await newSet(nums, tr);
assert.isTrue(lst.sequence.isMeta);
return await lst.sequence.newCursorAt(0);