psi: started commenting and restructuring psi_test.go to make neater

This commit is contained in:
saxon 2018-12-11 17:20:01 +10:30
parent d8c46eefaa
commit 4598d51e79
1 changed files with 4 additions and 2 deletions

View File

@ -6,14 +6,16 @@ import (
) )
const ( const (
tstTime = 1235367435 // hex = 49A2360B tstTime = 1235367435 // 0x49A2360B
tstTime2 = 1735357535 // hex = 676F745F tstTime2 = 1735357535 // 0x676F745F
) )
const ( const (
errCmp = "Incorrect output, for: %v wanted: %v, got: %v" errCmp = "Incorrect output, for: %v wanted: %v, got: %v"
) )
// Frist write tests
var ( var (
timeSlice = []byte{ timeSlice = []byte{
0x00, 0x00, 0x00, 0x00, 0x49, 0xA2, 0x36, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x49, 0xA2, 0x36, 0x0B,