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)
}