UNPKG

max-say

Version:

A fun console library that displays a cute text dog with 'Я собаня' message

24 lines 1.24 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = __importDefault(require("./index")); console.log('=== Тестирование MaxSay ===\n'); const maxSay = new index_1.default(); // Тест 1: собаня по умолчанию console.log('1. собаня по умолчанию:'); console.log(maxSay.say()); console.log('\n' + '='.repeat(50) + '\n'); // Тест 2: собаня с кастомным сообщением console.log('2. собаня с кастомным сообщением:'); console.log(maxSay.say('Привет, мир!')); console.log('\n' + '='.repeat(50) + '\n'); // Тест 3: собаня с красивым шрифтом console.log('3. собаня с красивым шрифтом (Block):'); console.log(maxSay.sayWithFont('Круто!', 'Block')); console.log('\n' + '='.repeat(50) + '\n'); // Тест 4: собаня с другим шрифтом console.log('4. собаня с другим шрифтом (Bubble):'); console.log(maxSay.sayWithFont('Вау!', 'Bubble')); //# sourceMappingURL=test.js.map