| 🌟 | 現在、 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
モジュール・トーク:TableExtensions/testcases
| Test name テスト名 | Status 成否 | Expected value 期待値 | Result 結果 | Message メッセージ |
|---|---|---|---|---|
| [table.values] case: Invalid | ✔️ | nil | モジュール:TableExtensions:18: stack traceback:
モジュール:TableExtensions:18: in function <モジュール:TableExtensions:17> (tail call): ? [C]: in function 'pcall' モジュール:Utility/TestHelper:87: in function 'execute' モジュール:Utility/TestHelper:118: in function <モジュール:Utility/TestHelper:117> (tail call): ? モジュール:TableExtensions/testcases:177: in function 'chunk' mw.lua:525: in function <mw.lua:505> (tail call): ? [C]: in function 'xpcall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:99: in function 'handleCall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:313: in function 'dispatch' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:52: in function 'execute' ...Scribunto/includes/engines/LuaStandalone/mw_main.lua:7: in main chunk [C]: ? | |
| [table.values] case: 1, 4, 9, "20px", "80px" | ✔️ |
{
1, 4, 9, "20px", "80px",
}
|
{
1, 4, 9, "20px", "80px",
}
| Test result is passed. |
| [table.mapValues] case: square | ✔️ |
{
1, 16, 81,
}
|
{
1, 16, 81,
}
| Test result is passed. |
| [table.keys] case: Invalid | ✔️ | nil | モジュール:TableExtensions:8: stack traceback:
モジュール:TableExtensions:8: in function <モジュール:TableExtensions:7> (tail call): ? [C]: in function 'pcall' モジュール:Utility/TestHelper:87: in function 'execute' モジュール:Utility/TestHelper:118: in function <モジュール:Utility/TestHelper:117> (tail call): ? モジュール:TableExtensions/testcases:177: in function 'chunk' mw.lua:525: in function <mw.lua:505> (tail call): ? [C]: in function 'xpcall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:99: in function 'handleCall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:313: in function 'dispatch' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:52: in function 'execute' ...Scribunto/includes/engines/LuaStandalone/mw_main.lua:7: in main chunk [C]: ? | |
| [table.removeKey] case: Invalid | ✔️ | nil | モジュール:TableExtensions:89: stack traceback:
モジュール:TableExtensions:89: in function <モジュール:TableExtensions:88> (tail call): ? [C]: in function 'pcall' モジュール:Utility/TestHelper:87: in function 'execute' モジュール:Utility/TestHelper:118: in function <モジュール:Utility/TestHelper:117> (tail call): ? モジュール:TableExtensions/testcases:177: in function 'chunk' mw.lua:525: in function <mw.lua:505> (tail call): ? [C]: in function 'xpcall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:99: in function 'handleCall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:313: in function 'dispatch' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:52: in function 'execute' ...Scribunto/includes/engines/LuaStandalone/mw_main.lua:7: in main chunk [C]: ? | |
| [table.entries] case: (1, 1), (2, 4), (3, 9) | ✔️ |
{
{
1, 1,
}, {
2, 4,
}, {
3, 9,
},
}
|
{
{
1, 1,
}, {
2, 4,
}, {
3, 9,
},
}
| Test result is passed. |
| [table.entries] case: Invalid | ✔️ | nil | モジュール:TableExtensions:28: stack traceback:
モジュール:TableExtensions:28: in function <モジュール:TableExtensions:27> (tail call): ? [C]: in function 'pcall' モジュール:Utility/TestHelper:87: in function 'execute' モジュール:Utility/TestHelper:118: in function <モジュール:Utility/TestHelper:117> (tail call): ? モジュール:TableExtensions/testcases:177: in function 'chunk' mw.lua:525: in function <mw.lua:505> (tail call): ? [C]: in function 'xpcall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:99: in function 'handleCall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:313: in function 'dispatch' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:52: in function 'execute' ...Scribunto/includes/engines/LuaStandalone/mw_main.lua:7: in main chunk [C]: ? | |
| [table.removeKey] case: Remove | ✔️ |
{
["max-width"] = "80px",
}
|
{
["max-width"] = "80px",
}
| Test result is passed. |
| [table.keys] case: 1, 2, 3 | ✔️ |
{
1, 2, 3,
}
|
{
1, 2, 3,
}
| Test result is passed. |
| [table.filter] case: value <= 4 | ✔️ |
{
1, 4,
}
|
{
1, 4,
}
| Test result is passed. |
| [table.mapKeys] case: uppercase | ✔️ |
{
["MAX-WIDTH"] = "80px",
["MIN-WIDTH"] = "20px",
}
|
{
["MAX-WIDTH"] = "80px",
["MIN-WIDTH"] = "20px",
}
| Test result is passed. |
| [table.keys] case: 1, 2, 3, "min-width", "max-width" | ✔️ |
{
1, 2, 3, "min-width", "max-width",
}
|
{
1, 2, 3, "min-width", "max-width",
}
| Test result is passed. |
| [table.isEmpty] case: False | ✔️ | false | false | Test result is passed. |
| [table.values] case: "20px", "80px" | ✔️ |
{
"20px", "80px",
}
|
{
"20px", "80px",
}
| Test result is passed. |
| [table.isEmpty] case: Invalid | ✔️ | nil | モジュール:TableExtensions:2: stack traceback:
モジュール:TableExtensions:2: in function <モジュール:TableExtensions:1> (tail call): ? [C]: in function 'pcall' モジュール:Utility/TestHelper:87: in function 'execute' モジュール:Utility/TestHelper:118: in function <モジュール:Utility/TestHelper:117> (tail call): ? モジュール:TableExtensions/testcases:177: in function 'chunk' mw.lua:525: in function <mw.lua:505> (tail call): ? [C]: in function 'xpcall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:99: in function 'handleCall' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:313: in function 'dispatch' ...cribunto/includes/engines/LuaStandalone/MWServer.lua:52: in function 'execute' ...Scribunto/includes/engines/LuaStandalone/mw_main.lua:7: in main chunk [C]: ? | |
| [table.keys] case: "min-width", "max-width" | ✔️ |
{
"min-width", "max-width",
}
|
{
"min-width", "max-width",
}
| Test result is passed. |
| [table.filter] case: value > 1 | ✔️ |
{
4, 9,
}
|
{
4, 9,
}
| Test result is passed. |
| [table.entries] case: (1, 1), (2, 4), (3, 9), ("min-width", "20px"), ("max-width", "80px") | ✔️ |
{
{
1, 1,
}, {
2, 4,
}, {
3, 9,
}, {
"min-width", "20px",
}, {
"max-width", "80px",
},
}
|
{
{
1, 1,
}, {
2, 4,
}, {
3, 9,
}, {
"min-width", "20px",
}, {
"max-width", "80px",
},
}
| Test result is passed. |
| [table.isEmpty] case: True | ✔️ | true | true | Test result is passed. |
| [table.values] case: 1, 4, 9 | ✔️ |
{
1, 4, 9,
}
|
{
1, 4, 9,
}
| Test result is passed. |
| [table.map] case: square | ✔️ |
{
1, 16, 81,
}
|
{
1, 16, 81,
}
| Test result is passed. |
| [table.entries] case: ("min-width", "20px"), ("max-width", "80px") | ✔️ |
{
{
"min-width", "20px",
}, {
"max-width", "80px",
},
}
|
{
{
"min-width", "20px",
}, {
"max-width", "80px",
},
}
| Test result is passed. |
| [table.filter] case: key contains "max" | ✔️ |
{
["max-width"] = "80px",
}
|
{
["max-width"] = "80px",
}
| Test result is passed. |