当前位置 : 主页 > 编程语言 > java >

RF判断列表、字典、整数、字符串类型是否相同方法

来源:互联网 收集:自由互联 发布时间:2022-09-02
${d} create list shk shsh ${w} create list ${e} evaluate type(${d}) ${t} evaluate type(${w}) should be equal ${e} ${t} ${d} create dictionary 1 shsh ${w} create dictionary ${e} evaluate type(${d}) ${t} evaluate type(${w}) should be equal ${


${d} create list shk shsh
${w} create list
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}
${d} create dictionary 1 shsh
${w} create dictionary
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}
${d} set variable 1
${w} set variable 2
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}
${d} set variable 'ddhs'
${w} set variable 'dd'
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}

RF判断列表、字典、整数、字符串类型是否相同方法_lua

Starting test: ZXJF.清结算 一期.测试.测试
20170714 10:56:53.482 : INFO : ${d} = [u'shk', u'shsh']
20170714 10:56:53.482 : INFO : ${w} = []
20170714 10:56:53.482 : INFO : ${e} = <type 'list'>
20170714 10:56:53.482 : INFO : ${t} = <type 'list'>
20170714 10:56:53.498 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
20170714 10:56:53.498 : INFO : ${d} = {u'1': u'shsh'}
20170714 10:56:53.498 : INFO : ${w} = {}
20170714 10:56:53.498 : INFO : ${e} = <type 'dict'>
20170714 10:56:53.498 : INFO : ${t} = <type 'dict'>
20170714 10:56:53.498 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
20170714 10:56:53.498 : INFO : ${d} = 1
20170714 10:56:53.498 : INFO : ${w} = 2
20170714 10:56:53.514 : INFO : ${e} = <type 'int'>
20170714 10:56:53.514 : INFO : ${t} = <type 'int'>
20170714 10:56:53.514 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
20170714 10:56:53.514 : INFO : ${d} = 'ddhs'
20170714 10:56:53.514 : INFO : ${w} = 'dd'
20170714 10:56:53.514 : INFO : ${e} = <type 'str'>
20170714 10:56:53.514 : INFO : ${t} = <type 'str'>
20170714 10:56:53.514 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
Ending test: ZXJF.清结算 一期.测试.测试

 

网友评论