<commit_before>package com.valkryst.VTerminal.misc;

import com.valkryst.VTerminal.Tile;
import com.valkryst.VTerminal.font.Font;
import com.valkryst.VTerminal.font.FontLoader;
import org.junit.Assert;
import org.junit.Test;

import java.awt.Image;
import java.io.IOException;
import java.net.URISyntaxException;

public class ImageCacheIT {
    private final Font font;

    public ImageCacheIT() throws IOException, URISyntaxException {
        font = FontLoader.loadFontFromJar("Fonts/DejaVu Sans Mono/20pt/bitmap.png", "Fonts/DejaVu Sans Mono/20pt/data.fnt", 1);
    }

    @Test
    public void testConstructor_oneParam_withValidFont() {
        final ImageCache cache = new ImageCache(font);
        Assert.assertEquals(font, cache.getFont());
    }<commit_msg>Removes unnecessary `throws`.<commit_after>package com.valkryst.VTerminal.misc;

import com.valkryst.VTerminal.Tile;
import com.valkryst.VTerminal.font.Font;
import com.valkryst.VTerminal.font.FontLoader;
import org.junit.Assert;
import org.junit.Test;

import java.awt.Image;
import java.io.IOException;

public class ImageCacheIT {
    private final Font font;

    public ImageCacheIT() throws IOException {
        font = FontLoader.loadFontFromJar("Fonts/DejaVu Sans Mono/20pt/bitmap.png", "Fonts/DejaVu Sans Mono/20pt/data.fnt", 1);
    }

    @Test
    public void testConstructor_oneParam_withValidFont() {
        final ImageCache cache = new ImageCache(font);
        Assert.assertEquals(font, cache.getFont());
    }
{'fraction_non_alphanumeric': 0.10508701472556894, 'fraction_numerical': 0.006693440428380187, 'mean_word_length': 4.245614035087719, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2761887', 'n_tokens_mistral': 507, 'n_tokens_neox': 482, 'n_words': 97}