var kim = use("kim");
var blob = use('blob')

return {
    ascii_basic: function() {
        var input = "Hello, World!";
        var encoded = kim.encode(input);
        var decoded = kim.decode(encoded);
        if (input != decoded) disrupt
    },

    unicode_multilingual: function() {
        var input = "Hello, 世界! 🌍 Привет мир";
        var encoded = kim.encode(input);
        var decoded = kim.decode(encoded);
        if (input != decoded) disrupt
    },

    empty_string: function() {
        var input = " ";
        var encoded = kim.encode(input);
        var decoded = kim.decode(encoded);
        if (input != decoded) disrupt
    },

    mixed_unicode_ranges: function() {
        var input = "αβγδε АБВГД 你好 😀😎🎉 ∑∏∫";
        var encoded = kim.encode(input);
        var decoded = kim.decode(encoded);
        if (input != decoded) disrupt
    },

    high_codepoints: function() {
        var input = "🌍🌎🌏🗺️🧭";
        var encoded = kim.encode(input);
        var decoded = kim.decode(encoded);
        if (input != decoded) disrupt
    }
}
