Example #1
0
func (s *UtilSuite) TestTimeIsZero(c *check.C) {
	c.Assert(s.Time.IsZero(), check.Equals, false)

	zeroTime := oanda.Time("")
	c.Assert(zeroTime.IsZero(), check.Equals, true)
}
Example #2
0
func (s *UtilSuite) SetUpSuite(c *check.C) {
	s.Time = oanda.Time("1439662384000000")
}