51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3466|回复: 4
打印 上一主题 下一主题

[求助] 这些划分不知道什么意思?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-6-12 17:51:40 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Assume that you have a 10-character-wide ZIP code text box. What equivalence partitions would you create for this text box?
Key:
1.Valid 5-digit ZIP codes. Valid means that they're numeric digits, not that they are existing, in-use ZIP codes--although that could be another partition.
2.Valid 9-digit(9 digits with a dash) ZIP codes.
3.Short 5-digit. Have only 4 numbers, for example.
4.Short 9-digit. Have only 8 numbers, for example.
5.Long 5-digit. Have 8 digits without a dash, for example.
6.Long 9-digit. It maynot be possible to type in more than 9 digits and a dash, but you should try.
...
不知道这些划分是什么意思?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2006-6-14 10:01:37 | 只看该作者
忘了说了text box内容如下:
00000-0000
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2006-6-14 10:02:57 | 只看该作者
那位高手解释一下啊
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2006-6-14 18:33:36 | 只看该作者
是有点绕,呵呵,不过总算看明白了,呵呵。
text box内容如下:
00000-0000
总共是10个符号,前面5个数字,第六个必须是-,后面还有4个数字,也就是9个数字加上“-”

文中划分等价类是:
1、5个数字
2、9个数字
3、小于5个数字
4、小于9个数字
5、大于5个数字
6、大于9个数字
回复 支持 反对

使用道具 举报

该用户从未签到

5#
 楼主| 发表于 2006-6-20 15:44:47 | 只看该作者
谢谢skinapi,我也明白了
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-28 05:29 , Processed in 0.076816 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表