소스 검색

测试调整

master
SisMaker 5 년 전
부모
커밋
99c643de7d
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +5
    -5
      test/test.erl

+ 5
- 5
test/test.erl 파일 보기

@ -213,13 +213,13 @@ allType() ->
, lnfloat64 = [-666666666666.88888, 4434.434, 434.43, 11111111111.34343, 5566]
, lfloat = [1.1, 2.2, 3.3, 666666.666]
, ldouble = [111111111.1, 22222222.2, 3.3, 66666622333333.666]
, lstring = ["fdsafsdfsfs", "电风扇打法胜多负少的", <<"fdsfasdfsfs">>, <<"大丰收大丰收的方式">>]
, lstring = ["fdsafsdfsfs", "电风扇打法胜多负少的", <<"fdsfasdfsfs">>, <<"大丰收大丰收的方式"/utf8>>]
, lunion = [#union{}, #union{type = 1, test = "aaaaa"}, #union{type = 2, test = "嘿嘿嘿嘿"}]
},
List = protoMsg:encode(AllType),
iolist_to_binary(List).
iolist_to_binary(List),
%%io:format("~p~n", [List]),
%%AllType1 = protoMsg:decode(iolist_to_binary(List)),
AllType1 = protoMsg:decode(iolist_to_binary(List)).
%%AllType1.
tall1(0) ->
@ -278,7 +278,7 @@ tall1(N) ->
, lnfloat64 = [-666666666666.88888, 4434.434, 434.43, 11111111111.34343, 5566]
, lfloat = [1.1, 2.2, 3.3, 666666.666]
, ldouble = [111111111.1, 22222222.2, 3.3, 66666622333333.666]
, lstring = ["fdsafsdfsfs", "电风扇打法胜多负少的", <<"fdsfasdfsfs">>, <<"大丰收大丰收的方式">>]
, lstring = ["fdsafsdfsfs", "电风扇打法胜多负少的", <<"fdsfasdfsfs">>, <<"大丰收大丰收的方式"/utf8>>]
, lunion = [#union{}, #union{type = 1, test = "aaaaa"}, #union{type = 2, test = "嘿嘿嘿嘿"}]
},
%protoMsg:encode(AllType),
@ -340,7 +340,7 @@ tall(N) ->
, lnfloat64 = [-666666666666.88888, 4434.434, 434.43, 11111111111.34343, 5566]
, lfloat = [1.1, 2.2, 3.3, 666666.666]
, ldouble = [111111111.1, 22222222.2, 3.3, 66666622333333.666]
, lstring = ["fdsafsdfsfs", "电风扇打法胜多负少的", <<"fdsfasdfsfs">>, <<"大丰收大丰收的方式">>]
, lstring = ["fdsafsdfsfs", "电风扇打法胜多负少的", <<"fdsfasdfsfs">>, <<"大丰收大丰收的方式"/utf8>>]
, lunion = [#union{}, #union{type = 1, test = "aaaaa"}, #union{type = 2, test = "嘿嘿嘿嘿"}]
},
%List = protoMsg:encode(AllType),

불러오는 중...
취소
저장