<commit_before>package com.rarchives.ripme.tst.ripper.rippers;

import java.io.IOException;
import java.net.URL;

import com.rarchives.ripme.ripper.rippers.SinnercomicsRipper;

public class SinnercomicsRipperTest extends RippersTest {
    public void testSinnercomicsAlbum() throws IOException {
        SinnercomicsRipper ripper;
        
        // Pinup test
        ripper = new SinnercomicsRipper(new URL("https://sinnercomics.com/elsa-frozen-2/#comments"));
        testRipper(ripper);

    }

    public void testGetGID() throws IOException {
        URL url;
        SinnercomicsRipper ripper;

        // Comic test
        url = new URL("https://sinnercomics.com/comic/beyond-the-hotel-page-01/");
        ripper = new SinnercomicsRipper(url);
        assertEquals("beyond-the-hotel", ripper.getGID(url));

        // Comic test
        url = new URL("https://sinnercomics.com/elza-frozen-2/#comments");
        ripper = new SinnercomicsRipper(url);
        assertEquals("elza-frozen-2", ripper.getGID(url));
    }
}<commit_msg>Reformted code a bit<commit_after>package com.rarchives.ripme.tst.ripper.rippers;

import java.io.IOException;
import java.net.URL;

import com.rarchives.ripme.ripper.rippers.SinnercomicsRipper;

public class SinnercomicsRipperTest extends RippersTest {
    public void testSinnercomicsAlbum() throws IOException {
        SinnercomicsRipper ripper;

        // Pinup test
        ripper = new SinnercomicsRipper(new URL("https://sinnercomics.com/elsa-frozen-2/#comments"));
        testRipper(ripper);

    }

    public void testGetGID() throws IOException {
        URL url;
        SinnercomicsRipper ripper;

        // Comic test
        url = new URL("https://sinnercomics.com/comic/beyond-the-hotel-page-01/");
        ripper = new SinnercomicsRipper(url);
        assertEquals("beyond-the-hotel", ripper.getGID(url));

        // Comic test
        url = new URL("https://sinnercomics.com/elza-frozen-2/#comments");
        ripper = new SinnercomicsRipper(url);
        assertEquals("elza-frozen-2", ripper.getGID(url));
    }
}
{'fraction_non_alphanumeric': 0.11759036144578314, 'fraction_numerical': 0.004819277108433735, 'mean_word_length': 2.9770114942528734, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '985936', 'n_tokens_mistral': 709, 'n_tokens_neox': 674, 'n_words': 115}