pub const color = @import("src/color.zig");
pub const FormatInterface = @import("src/FormatInterface.zig");
pub const formats = @import("src/formats.zig");
pub const Image = @import("src/Image.zig");
pub const ImageUnmanaged = @import("src/ImageUnmanaged.zig");
pub const math = @import("src/math.zig");
// pub const OctTreeQuantizer = @import("src/OctTreeQuantizer.zig");
pub const PixelFormat = @import("src/pixel_format.zig").PixelFormat;
// pub const PixelFormatConverter = @import("src/PixelFormatConverter.zig");
pub const Colors = @import("src/predefined_colors.zig").Colors;
pub const io = @import("src/io.zig");

test {
    const std = @import("std");
    std.testing.refAllDecls(@This());

    inline for (.{
        @import("src/compressions/lzw.zig"),
        @import("tests/color_test.zig"),
        @import("tests/io_test.zig"),
        @import("tests/formats/bmp_test.zig"),
        @import("tests/formats/gif_test.zig"),
        @import("tests/formats/iff_test.zig"),
        @import("tests/formats/jpeg_test.zig"),
        @import("tests/formats/pam_test.zig"),
        @import("tests/formats/netpbm_test.zig"),
        @import("tests/formats/pcx_test.zig"),
        @import("tests/formats/png_test.zig"),
        @import("tests/formats/qoi_test.zig"),
        @import("tests/formats/ras_test.zig"),
        @import("tests/formats/sgi_test.zig"),
        @import("tests/formats/tga_test.zig"),
        @import("tests/formats/tiff_test.zig"),
        @import("tests/formats/farbfeld_test.zig"),
        @import("tests/formats/xbm_test.zig"),
        // @import("tests/image_editor_test.zig"),
        // @import("tests/image_test.zig"),
        @import("tests/math_test.zig"),
        // @import("tests/octree_quantizer_test.zig"),
        // @import("tests/pixel_format_converter_test.zig"),
        @import("tests/pixel_format_test.zig"),
    }) |source_file| std.testing.refAllDeclsRecursive(source_file);
}
