MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / sign_zero

Function sign_zero

crates/luacad/src/lua_engine.rs:2212–2219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2210 }
2211
2212 #[test]
2213 fn cube_nested_table() {
2214 let nodes = run_lua_scad("return cube { {5, 10, 15}, center = true }");
2215 let scad = generate_scad(&nodes);
2216 assert!(scad.contains("cube([5, 10, 15]"));
2217 assert!(scad.contains("center = true"));
2218 }
2219
2220 #[test]
2221 fn require_luacad_is_a_noop() {
2222 let nodes = run_lua_scad("require('luacad')\nreturn cube(5)");

Callers

nothing calls this directly

Calls 1

execute_luaFunction · 0.85

Tested by

no test coverage detected