blob: 859c26ffcbb462e9a39b31e7829e4bda8b7316a5 [file] [log] [blame]
// @dart = 2.9
import "package:expect/expect.dart";
void main() {
var h = "hello", w = "world";
Expect.notEquals(h.hashCode, w.hashCode);
Expect.notEquals((String).hashCode, (int).hashCode);
var c = h.runtimeType.hashCode;
Expect.isTrue(c is int);
Expect.notEquals(c, null);
Expect.notEquals(c, 0);
}