molstar
Version:
A comprehensive macromolecular library.
18 lines • 574 B
JavaScript
/**
* Copyright (c) 2017 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { IntTuple } from '../tuple';
describe('int pair', function () {
it('works', function () {
for (var i = 0; i < 10; i++) {
for (var j = -10; j < 5; j++) {
var t = IntTuple.create(i, j);
expect(IntTuple.fst(t)).toBe(i);
expect(IntTuple.snd(t)).toBe(j);
}
}
});
});
//# sourceMappingURL=tuple.spec.js.map