<commit_before>/**
 * Copyright (c) 2016, All Contributors (see CONTRIBUTORS file)
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package com.eventsourcing.index;

import com.googlecode.cqengine.attribute.Attribute;
import com.googlecode.cqengine.index.Index;
import com.googlecode.cqengine.index.navigable.NavigableIndex;
import com.googlecode.cqengine.quantizer.Quantizer;

public class MemoryNavigableIndexTest extends NavigableIndexTest<NavigableIndex> {

    @Override
    public <A extends Comparable<A>, O> NavigableIndex onAttribute(Attribute<O, A> attribute) {
        return NavigableIndex.onAttribute(attribute);
    }

    @Override
    public <A extends Comparable<A>, O> Index<O> withQuantizerOnAttribute(Quantizer<A> quantizer,
                                                                          Attribute<O, A> attribute) {
        return NavigableIndex.withQuantizerOnAttribute(quantizer, attribute);
    }

<commit_msg>Problem: MemoryNavigableIndexTest not included into `gradle check`<commit_after>/**
 * Copyright (c) 2016, All Contributors (see CONTRIBUTORS file)
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package com.eventsourcing.index;

import com.googlecode.cqengine.attribute.Attribute;
import com.googlecode.cqengine.index.Index;
import com.googlecode.cqengine.index.navigable.NavigableIndex;
import com.googlecode.cqengine.quantizer.Quantizer;
import org.testng.annotations.Test;

@Test
public class MemoryNavigableIndexTest extends NavigableIndexTest<NavigableIndex> {

    @Override
    public <A extends Comparable<A>, O> NavigableIndex onAttribute(Attribute<O, A> attribute) {
        return NavigableIndex.onAttribute(attribute);
    }

    @Override
    public <A extends Comparable<A>, O> Index<O> withQuantizerOnAttribute(Quantizer<A> quantizer,
                                                                          Attribute<O, A> attribute) {
        return NavigableIndex.withQuantizerOnAttribute(quantizer, attribute);
    }


{'fraction_non_alphanumeric': 0.0893709327548807, 'fraction_numerical': 0.006941431670281995, 'mean_word_length': 3.4091778202676863, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6991575', 'n_tokens_mistral': 663, 'n_tokens_neox': 641, 'n_words': 179}