git-svn-id: https://weed-fs.googlecode.com/svn/trunk@45 282b0af5-e82d-9cf1-ede4-77906d7719d0
This commit is contained in:
chris.lu@gmail.com 2012-03-29 21:47:52 +00:00
parent 4c31b6d533
commit 8edf12f026

View file

@ -1,9 +1,10 @@
package directory package directory
import { import (
"testing" "testing"
"log" "log"
} )
func TestSerialDeserialization(t *testing.T) { func TestSerialDeserialization(t *testing.T) {
f1 := &FileId{VolumeId: 345, Key:8698, Hashcode: 23849095} f1 := &FileId{VolumeId: 345, Key:8698, Hashcode: 23849095}
log.Println("vid", f1.VolumeId, "key", f1.Key, "hash", f1.Hashcode) log.Println("vid", f1.VolumeId, "key", f1.Key, "hash", f1.Hashcode)
@ -11,6 +12,4 @@ func TestSerialDeserialization(t *testing.T) {
f2 := ParseFileId(t.String()) f2 := ParseFileId(t.String())
log.Println("vvid", f2.VolumeId, "vkey", f2.Key, "vhash", f2.Hashcode) log.Println("vvid", f2.VolumeId, "vkey", f2.Key, "vhash", f2.Hashcode)
t.
} }