summaryrefslogblamecommitdiff
path: root/test/files/run/MeterCaseClass.check
blob: 2782704f9f704732e0a526b1f7b10cd645f73269 (plain) (tree)
1
2
3


                                                                                                              












                             
MeterCaseClass.scala:69: warning: comparing values of types a.Meter and Int using `==' will always yield false
  println("x == 1: "+(x == 1))
                        ^
2.0
Meter(4.0)
false
x.isInstanceOf[Meter]: true
x.hashCode: 1072693248
x == 1: false
x == y: true
a == b: true
testing native arrays
Array(Meter(1.0), Meter(2.0))
Meter(1.0)
>>>Meter(1.0)<<< Meter(1.0)
>>>Meter(2.0)<<< Meter(2.0)