MCPcopy Create free account
hub / github.com/apache/thrift / test_double

Method test_double

test/rb/integration/TestClient.rb:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 end
189
190 def test_double
191 p 'test_double'
192 val = 3.14159265358979323846
193 assert_equal(@client.testDouble(val), val)
194 assert_equal(@client.testDouble(-val), -val)
195 assert_kind_of(Float, @client.testDouble(val))
196 end
197
198 def test_binary
199 p 'test_binary'

Callers 1

make_thrift_callsFunction · 0.45

Calls 1

testDoubleMethod · 0.45

Tested by

no test coverage detected