// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { assert } from 'chai';
import * as SDK from './sdk.js';
describe('OverlayColorGenerator', () => {
    it('generates colors for at least 100 iterations', () => {
        const generator = new SDK.OverlayColorGenerator.OverlayColorGenerator();
        let prevColor;
        for (let i = 0; i < 100; i++) {
            const color = generator.next();
            if (prevColor) {
                assert.notDeepEqual(color.asString(), prevColor.asString());
            }
            prevColor = color;
        }
    });
});
//# sourceMappingURL=OverlayColorGenerator.test.js.map