source: EcnlProtoTool/trunk/mrbgems/mruby-socket/test/udpsocket.rb@ 279

Last change on this file since 279 was 279, checked in by coas-nagasima, 7 years ago

ファイルを追加、更新。

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby
File size: 345 bytes
Line 
1assert('UDPSocket.new') do
2 s = UDPSocket.new
3 assert_true(s.is_a? UDPSocket)
4 s.close
5 s = UDPSocket.new(Socket::AF_INET6)
6 assert_true(s.is_a? UDPSocket)
7 s.close
8 true
9end
10
11#assert('UDPSocket#connect') do
12#assert('UDPSocket#send') do
13#assert('UDPSocket#recv') do
14
15#assert('UDPSocket#bind') do
16#assert('UDPSocket#recvfrom_nonblock') do
Note: See TracBrowser for help on using the repository browser.