- Archive old documentation and test files to `docs/archive/` and `local_tests/`. - Remove various temporary and old files from the project root. - Add `nekocode-rust` analysis tool and its output files (`nekocode/`, `.nekocode_sessions/`, `analysis.json`). - Minor updates to `apps/chip8_nyash/chip8_emulator.nyash` and `local_tests` files. This commit cleans up the repository and sets the stage for further code modularization efforts, particularly in the `src/interpreter` and `src/parser` modules, based on recent analysis.
30 lines
958 B
Plaintext
30 lines
958 B
Plaintext
# 🔍 isServer()を使わないテスト - 問題箇所特定
|
||
|
||
static box Main {
|
||
init { console }
|
||
|
||
main() {
|
||
me.console = new ConsoleBox()
|
||
me.console.log("isServer()なしテスト開始")
|
||
|
||
# SocketBox作成
|
||
local socket = new SocketBox()
|
||
me.console.log("SocketBox作成完了")
|
||
|
||
# toString()テスト(isServer()を内部で呼んでいるかも)
|
||
me.console.log("toString()テスト開始")
|
||
local socketStr = socket.toString()
|
||
me.console.log("SocketBox: " + socketStr)
|
||
|
||
# bind実行(isServer()を呼ばずに)
|
||
me.console.log("bind実行開始")
|
||
local bindResult = socket.bind("127.0.0.1", 19999)
|
||
me.console.log("Bind結果: " + bindResult.toString())
|
||
|
||
# クリーンアップ
|
||
socket.close()
|
||
me.console.log("テスト完了")
|
||
|
||
return "SUCCESS_NO_ISSERVER"
|
||
}
|
||
} |