Can you please tell me where I'm going wrong?


#1

Hi There. And thanks for your help.
I've tried the following but it's still returning an error
Can you please tell me where I'm going wrong?

test_1 should be true
test_1 = !(1==1)&&(2==2)
test_2 = should be true
test_2 = (1==1)||(2==2)
test_3 = should be false
test_3= !(1==1) || (1==2)


Billions of boolens
#2

error message is as follows
undefined method `be' for #


#3

I've also tried

test_1 should be true
test_1 = (1==1)&&(2==2)
test_2 = should be true
test_2 = (1==1)||(2==2)
test_3 = should be false
test_3 = (1==1)||(1==2)


#4

Willtillman - you need to comment out every other one, starting on the first line.

# test_1 should be true
test_1...
# test_2 should be true
test_2...
# test_3 should be false
test_3...

#5

Result! Many Thanks!!