test cases for rand

This commit is contained in:
V2Ray committed 2015-09-17 00:15:06 +02:00
1 parent a766c61dcc
commit 26c040537f
3 files changed
+78

No files matched your search

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