"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

var _Null = _interopRequireDefault(require("./Null"));

// Copyright 2017-2019 @polkadot/types authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
describe('Null', () => {
  it('compares against null', () => {
    expect(new _Null.default().eq(null)).toBe(true);
  });
  it('compares against Null', () => {
    expect(new _Null.default().eq(new _Null.default())).toBe(true);
  });
  it('compares against other (failed)', () => {
    expect(new _Null.default().eq()).toBe(false);
  });
});