public void Is()
{
Interpret(@"load 'Bike.Test';
var ip = Test.Person('bike', 0, 'kiki')
is Test.Person;")
.Equal("ip", true);
Interpret(@"var r;
var type = System.Exception;
try {
throw System.Exception();
} rescue e {
println('*******');
println(e);
println(e.cause);
if (e.cause is type) r = true;
if (e.cause is System.Exception) r &&= true;
}").Equal("r", true);
Interpret(@"try {
throw System.ApplicationException();
} rescue e {
r = e is Bike.Number;
}").Equal("r", false);
}