<commit_before>import Round from '../app/model/round.js';

test('constructor', () => {
    // Arrange
    let object_under_test = new Round();

    // Act
    // Empty

    // Assert
    expect(object_under_test.toString()).toBe("0.0");
});

test('basic dart increment', () => {
    // Arrange
    let object_under_test = new Round();

    // Act
    object_under_test.nextDart();

    // Assert
    expect(object_under_test.toString()).toBe("0.1");
});

test('dart increment 2x', () => {
    // Arrange
    let object_under_test = new Round();
    object_under_test.nextDart();

    // Act
    object_under_test.nextDart();

    // Assert
    expect(object_under_test.toString()).toBe("0.2");
});

test('dart increment rollover', () => {
    // Arrange
    let object_under_test = new Round();
    object_under_test.nextDart();
    object_under_test.nextDart();

    // Act
    object_under_test.nextDart();

    // Assert
    expect(object_under_test.toString()).toBe("1.0");
});<commit_msg>[DARTS-3] Complete coverage of round<commit_after>import Round from '../app/model/round.js';

test('constructor', () => {
    // Arrange
    let object_under_test = new Round();

    // Act
    // Empty

    // Assert
    expect(object_under_test.toString()).toBe("0.0");
});

test('basic dart increment', () => {
    // Arrange
    let object_under_test = new Round();

    // Act
    object_under_test.nextDart();

    // Assert
    expect(object_under_test.toString()).toBe("0.1");
});

test('dart increment 2x', () => {
    // Arrange
    let object_under_test = new Round();
    object_under_test.nextDart();

    // Act
    object_under_test.nextDart();

    // Assert
    expect(object_under_test.toString()).toBe("0.2");
});

test('dart increment rollover', () => {
    // Arrange
    let object_under_test = new Round();
    object_under_test.nextDart();
    object_under_test.nextDart();

    // Act
    object_under_test.nextDart();

    // Assert
    expect(object_under_test.toString()).toBe("1.0");
});

test('Basic round increment', () => {
    // Arrange
    let object_under_test = new Round();

    // Act
    object_under_test.nextRound();

    // Assert
    expect(object_under_test.toString()).toBe("1.0");
});

test('Round increment x2', () => {
    // Arrange
    let object_under_test = new Round();
    object_under_test.nextRound();

    // Act
    object_under_test.nextRound();

    // Assert
    expect(object_under_test.toString()).toBe("2.0");
});

test('Round increment x2 then dart', () => {
    // Arrange
    let object_under_test = new Round();
    object_under_test.nextRound();
    object_under_test.nextRound();

    // Act
    object_under_test.nextDart();

    // Assert
    expect(object_under_test.toString()).toBe("2.1");
});

test('Round increment x2 then dart', () => {
    // Arrange
    let object_under_test = new Round();
    object_under_test.nextRound();
    object_under_test.nextRound();
    object_under_test.nextDart();

    // Act
    object_under_test.nextRound();

    // Assert
    expect(object_under_test.toString()).toBe("3.0");
});
{'fraction_non_alphanumeric': 0.17066062176165803, 'fraction_numerical': 0.009715025906735751, 'mean_word_length': 2.940051020408163, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7523158', 'n_tokens_mistral': 1030, 'n_tokens_neox': 996, 'n_words': 168}