/**
 * @overview Jasmin test case.
 * @see {@link http://pivotal.github.io/jasmine/ | jasmine}
 */
describe('apeman-string', function () {
    var ap;
    beforeEach(function () {
        ap = apeman;
    });
    it('Apeman string.coffee.', function () {
        var string = ap.string;
        expect(string.toHiragana("あうえおカキクケコ")).toBe('あうえおかきくけこ');
        expect(string.toKatakana("あいうえおカキクケコ")).toBe('アイウエオカキクケコ');
        expect(string.toHankaku('１２３4567Ａ')).toBe('1234567A');
        expect(string.toZenkaku('１２３4567Ａ')).toBe('１２３４５６７Ａ');
        expect(string.ambiguousMatch('１２３', '１２３４５６７Ａ')).not.toBe(null);
        expect(string.ambiguousMatch('1', '１２３４５６７Ａ')).not.toBe(null);
        expect(string.ambiguousMatch("ア", 'あいうえおカキクケコ')).not.toBe(null);
        expect(string.ambiguousMatch("アいう", 'あイうえおカキクケコ')).not.toBe(null);
        expect(string.ambiguousMatch("ぬ", 'あいうえおカキクケコ')).toBe(null);
    });
});