Files
hakorune/local_tests/test_filebox_tostring.nyash
Moe Charm 2b2dcc5647 feat(phase-9.75f-1): Complete FileBox dynamic library implementation
- Implement C ABI plugin system with workspace configuration
- Create FileBox plugin with full read/write/exists/toString support
- Fix critical memory management issues (double free) with Arc
- Add comprehensive test suite for dynamic FileBox functionality
- Achieve 98% build time improvement for plugin (2.87s vs 2-3min)
- Maintain full backward compatibility with feature flags

FileBox now loads dynamically, drastically reducing build times while
maintaining all functionality. Next: Math/Time dynamic migration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-17 09:31:35 +09:00

28 lines
877 B
Plaintext

// FileBox toString()メソッドテスト - 動的ライブラリ実装
static box Main {
init { console }
main() {
me.console = new ConsoleBox()
me.console.log("🧪 FileBox toString()テスト開始")
// FileBoxインスタンス作成
local testFile
testFile = new FileBox("test.txt")
me.console.log("✅ FileBox作成成功: " + testFile.toString())
// toString()メソッド呼び出し
local fileStr
fileStr = testFile.toString()
me.console.log("✅ toString()結果: " + fileStr)
// 存在確認テスト
local exists
exists = testFile.exists()
me.console.log("📁 ファイル存在: " + exists.toString())
me.console.log("🎉 FileBox toString()テスト完了!")
return "success"
}
}