summaryrefslogtreecommitdiff
path: root/utilities_test.go
blob: a8d291b98543cbf48daa1f568348946ef184951e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// +build all general

package main

import (
	"testing"
)

func TestMd5Hash(t *testing.T) {
	hash := "f9d08276bc85d30d578e8883f3c7e843"
	testHash := Md5Hash("md5hash")

	if hash != testHash {
		t.Fatal("Expected %s as hash. Got %s.", hash, testHash)
	}
}