1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-19 18:11:34 -05:00

test cases for rand

This commit is contained in:
V2Ray
2015-09-17 00:15:06 +02:00
parent a766c61dcc
commit 26c040537f
3 changed files with 78 additions and 0 deletions

View File

@@ -16,6 +16,10 @@ func Assert(t *testing.T) *Assertion {
return assert
}
func (a *Assertion) Int64(value int64) *Int64Subject {
return NewInt64Subject(NewSubject(a), value)
}
func (a *Assertion) Int(value int) *IntSubject {
return NewIntSubject(NewSubject(a), value)
}