summaryrefslogtreecommitdiff
path: root/hamlet_test.go
blob: d2166173facfadf20bd422378f84e74204d350dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package hamlet

import (
	"fmt"
	"testing"
)

func TestAssertion(t *testing.T) {
	prop1 := New(4)
	prop2 := New("")

	fmt.Println(If(prop2, prop1))
	fmt.Println(If(prop1, prop2))
}