OSDN Git Service

edit the unit test name
authorpaladz <453256728@qq.com>
Fri, 13 Apr 2018 13:37:58 +0000 (21:37 +0800)
committerpaladz <453256728@qq.com>
Fri, 13 Apr 2018 13:37:58 +0000 (21:37 +0800)
mining/tensority/algorithm_test.go

index 835216e..4b62493 100644 (file)
@@ -8,7 +8,7 @@ import (
 )
 
 // Tests that tensority hash result is correct.
-func TestHash(t *testing.T) {
+func TestAlgorithm(t *testing.T) {
        tests := []struct {
                blockHeader [32]byte
                seed        [32]byte