软件测试实验一
2014-11-12 19:38:02 10 举报
软件测试啦
作者其他创作
大纲/内容
T
w
z3
int totalDays = 0
F
START
n
((year % 4 == 0) && (year % 100 != 0)) || year % 400 == 0
month12
return -2
z1
int tempDay = totalDays % 7
j
i++
year 10000
g
v
END
return tempDay
return -1
totalDays += day
e
z5
k
c
x
MonthDays[1] = 29
tempDay == 0
i year
day MonthDays[month - 1]
s
l
((i % 4 == 0) && (i % 100 != 0)) || i % 400 == 0
a
i month
i
f
b
y
z4
int i=1
t
z2
i == 2
o
m
totalDays += 365
return 0
totalDays += MonthDays[i - 1]
totalDays += 366
q
r
return -3
u
h
year 0 || month 0 || day 0
tempDay = 7
d
p
0 条评论
下一页