<commit_before>package uk.org.fyodor.generators;

import org.junit.Test;

import java.util.regex.Pattern;

import static uk.org.fyodor.FyodorAssertions.assertThat;

public class UrlGeneratorTest {

    Pattern pattern = Pattern.compile("^https?://[\\w\\-.]*[\\.!?\\w]+$");

    @Test
    public void createUrls(){
        Generator<String> urlGenerator = new UrlGenerator();<commit_msg>use RDG in URL generator test<commit_after>package uk.org.fyodor.generators;

import org.junit.Test;

import java.util.regex.Pattern;

import static uk.org.fyodor.FyodorAssertions.assertThat;

public class UrlGeneratorTest {

    Pattern pattern = Pattern.compile("^https?://[\\w\\-.]*[\\.!?\\w]+$");

    @Test
    public void createUrls(){
        Generator<String> urlGenerator = RDG.url();
{'fraction_non_alphanumeric': 0.16046213093709885, 'fraction_numerical': 0.0, 'mean_word_length': 3.875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5108656', 'n_tokens_mistral': 267, 'n_tokens_neox': 254, 'n_words': 49}