MCPcopy Create free account
hub / github.com/nodejs/node / EmitOne

Method EmitOne

deps/v8/tools/bigint-tester.py:160–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158
159 # Subclasses should not override anything below.
160 def EmitOne(self):
161 left_str, right_str = self.GenerateInputs()
162 left_num = Parse(left_str)
163 right_num = Parse(right_str)
164 result_num = self.GenerateResult(left_num, right_num)
165 result_str = Format(result_num)
166 return ("{\n a: %s,\n b: %s,\n r: %s\n}" %
167 (left_str, right_str, result_str))
168
169 def EmitTestCore(self):
170 return """\

Callers

nothing calls this directly

Calls 4

GenerateInputsMethod · 0.95
GenerateResultMethod · 0.95
ParseFunction · 0.85
FormatFunction · 0.85

Tested by

no test coverage detected