You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
323 B

package circuitcompiler
import (
//"fmt"
////"math/big"
//"strings"
"testing"
"github.com/stretchr/testify/assert"
)
func TestXor(t *testing.T) {
assert.Equal(t, false, Xor(true, true))
assert.Equal(t, true, Xor(true, false))
assert.Equal(t, true, Xor(false, true))
assert.Equal(t, false, Xor(false, false))
}