Sha256: 77d9f66859dfcd19eb79262485001ab254851aa5409d898cea867985e3cf68a8

Contents?: true

Size: 256 Bytes

Versions: 4

Compression:

Stored size: 256 Bytes

Contents

package pasta_test

import "../go"
import "testing"

func TestPasta(t *testing.T) {
    hash := pasta.Hash_password("hello123")
    verify := pasta.Verify_password(hash, "hello123")
    if verify == 0 {
        t.Error("failed to verify correctly")
    }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libpasta-0.1.0.pre.rc0-x86_64-linux ext/pasta-bindings/tests/pasta_test.go
libpasta-0.0.6-x86_64-linux ext/pasta-bindings/tests/pasta_test.go
libpasta-0.0.5 ext/pasta-bindings/tests/pasta_test.go
libpasta-0.0.5-x86_64-linux ext/pasta-bindings/tests/pasta_test.go