blob: 49c9ab8f97cbe62008fea16d60dfbdbe0c4149bc [file] [log] [blame]
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);
}