文件名称:SoftwareTest
-
所属分类:
- 标签属性:
- 上传时间:2013-05-02
-
文件大小:238.5kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本例是软件测试课的用例,用以测试电信通话中话费计算时出现的各种问题,尤其是夏至日和冬至日的时间转换问题,以及一个JUnit的简单测试用例。 对电话账单来说,春季和秋季的标准时间与夏时制时间的转换会带来有意思的问题。春季,这种转换发生在(3月末、4月初的)星期日凌晨2:00时,这时时钟要设置为凌晨3:00时。对称的转换通常发生在10月最后一个星期日,时钟要从2:59:59调回到2:00:00。
请为采用以下费率计算用户的每月通话费:
通话时间<=20分钟时,每分钟收费0.05美元,通话时间不到1分钟时按1分钟计算。
通话时间>20分钟时,收费1.00美元,超过20分钟的部分,每分钟0.10美元,不到1分钟时按1分钟计算。
假设:
通话计费时间从被叫方应答开始计算,到呼叫方挂机时结束。
没有超过20个小时的通话。
网上没有找到代码只好自己写一个了。-Google s translation is not reliable.
This case, the software testing course use cases to test telecommunications call charge calculating various problems, especially in the time of the summer solstice and the winter solstice conversion issues, as well as a simple JUnit test cases. For phone bill, spring and fall between standard time and daylight savings time conversion will bring interesting question. , This conversion occurred in the spring (end of March, early April) 2:00 am Sunday morning, when the clock is set to 3:00 pm. The symmetric transition typically occurs the last Sunday in October, the clock from the 2:59:59 transferred back to 2:00:00.
Monthly call charges calculated using the following rates:
Talk time <= 20 minutes, costs $ 0.05 per minute, talk time less than 1 minute 1 minute.
Talk time> 20 minutes and costs $ 1.00, more than a 20-minute parts, $ 0.10 per minute, less than 1 minute 1 minute.
Assumptions:
Call billing time from the called party answers,
请为采用以下费率计算用户的每月通话费:
通话时间<=20分钟时,每分钟收费0.05美元,通话时间不到1分钟时按1分钟计算。
通话时间>20分钟时,收费1.00美元,超过20分钟的部分,每分钟0.10美元,不到1分钟时按1分钟计算。
假设:
通话计费时间从被叫方应答开始计算,到呼叫方挂机时结束。
没有超过20个小时的通话。
网上没有找到代码只好自己写一个了。-Google s translation is not reliable.
This case, the software testing course use cases to test telecommunications call charge calculating various problems, especially in the time of the summer solstice and the winter solstice conversion issues, as well as a simple JUnit test cases. For phone bill, spring and fall between standard time and daylight savings time conversion will bring interesting question. , This conversion occurred in the spring (end of March, early April) 2:00 am Sunday morning, when the clock is set to 3:00 pm. The symmetric transition typically occurs the last Sunday in October, the clock from the 2:59:59 transferred back to 2:00:00.
Monthly call charges calculated using the following rates:
Talk time <= 20 minutes, costs $ 0.05 per minute, talk time less than 1 minute 1 minute.
Talk time> 20 minutes and costs $ 1.00, more than a 20-minute parts, $ 0.10 per minute, less than 1 minute 1 minute.
Assumptions:
Call billing time from the called party answers,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
软件测试/软件测试一/readme.txt
软件测试/软件测试一二实验报告.doc
软件测试/
软件测试/软件测试一/
软件测试/软件测试一/代码/
软件测试/软件测试一/代码/InputStringTest.java
软件测试/软件测试一/代码/My_Date.java
软件测试/软件测试一/代码/TelFeeCal.java
软件测试/软件测试一/代码/test.java
软件测试/软件测试二/
软件测试/软件测试二/Insurance.java
软件测试/软件测试二/InsuranceTest.java
软件测试/软件测试一二实验报告.doc
软件测试/
软件测试/软件测试一/
软件测试/软件测试一/代码/
软件测试/软件测试一/代码/InputStringTest.java
软件测试/软件测试一/代码/My_Date.java
软件测试/软件测试一/代码/TelFeeCal.java
软件测试/软件测试一/代码/test.java
软件测试/软件测试二/
软件测试/软件测试二/Insurance.java
软件测试/软件测试二/InsuranceTest.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.