MCPcopy Create free account
hub / github.com/KLayout/klayout / test_2

Method test_2

testdata/klayout_main/main.rb:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 end
61
62 def test_2
63
64 # Basic Ruby
65 out = `#{self.klayout_bin} -b -rd v1=42 -rd v2=hello -r #{File.join(File.dirname(__FILE__), "test.rb")} 2>&1`
66 assert_equal(out, "Variable v1=42 v2=hello\n")
67
68 out = `#{self.klayout_bin} -b -rd v1=42 -rd v2=hello -r #{File.join(File.dirname(__FILE__), "test.rb")} -rm #{File.join(File.dirname(__FILE__), "test2.rb")} -rm #{File.join(File.dirname(__FILE__), "test3.rb")} 2>&1`
69 assert_equal(out, "test2\ntest3\nVariable v1=42 v2=hello\n")
70
71 end
72
73 def test_3
74

Callers

nothing calls this directly

Calls 2

klayout_binMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected