package blockchain
|
|
|
|
import "testing"
|
|
|
|
func Test_Genesis_block(t *testing.T) {
|
|
|
|
// Generate_Genesis_Block()
|
|
|
|
/*var bl Block
|
|
|
|
serialized := bl.Serialize()
|
|
err := bl.Deserialize(serialized)
|
|
|
|
if err != nil {
|
|
t.Error("Deserialization test failed for NULL block\n")
|
|
}
|
|
serialized2 := bl.Serialize()
|
|
|
|
if bytes.Equal(serialized, serialized2) {
|
|
t.Error("Deserialization test failed for NULL block\n")
|
|
return
|
|
}*/
|
|
|
|
}
|