triple_test.go 279 B

1234567891011
  1. package gold
  2. import (
  3. "github.com/stretchr/testify/assert"
  4. "testing"
  5. )
  6. func TestTripleEquals(t *testing.T) {
  7. one := NewTriple(NewResource("a"), NewResource("b"), NewResource("c"))
  8. assert.True(t, one.Equal(NewTriple(NewResource("a"), NewResource("b"), NewResource("c"))))
  9. }