feat: 초기 프로젝트 설정 및 룰.md 파일 추가

This commit is contained in:
2025-07-28 09:53:31 +09:00
commit 09a4d38512
8165 changed files with 1021855 additions and 0 deletions

26
api.hyungi.net/node_modules/lazy/test/join.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
var assert = require('assert');
var Lazy = require('..');
var expresso = expresso;
function range(i, j) {
var r = [];
for (;i<j;i++) r.push(i);
return r;
}
exports['join'] = function () {
var lazy = new Lazy;
var data = [];
var executed = false;
lazy.take(10).join(function (xs) {
assert.deepEqual(xs, range(0,10));
executed = true;
});
range(0,20).forEach(function (x) {
lazy.emit('data', x);
});
assert.ok(executed, 'join didn\'t execute');
}