gecko/snow/consensus/snowstorm/test_tx_test.go

25 lines
351 B
Go

// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package snowstorm
import (
"testing"
)
func TestTxVerify(t *testing.T) {
Setup()
if err := Red.Verify(); err != nil {
t.Fatal(err)
}
}
func TestTxBytes(t *testing.T) {
Setup()
if Red.Bytes() != nil {
t.Fatalf("Expected nil bytes")
}
}