Source

mongo-dart / tests / bson / BSonTypesTest.dart

Full commit
#library("BsonTypesTest");
#import('../../../../dart/dart-sdk/lib/unittest/unittest.dart');
#import("../../lib/bson/bson.dart");
typeTest(){
  Expect.isTrue(bsonObjectFrom(1234) is BsonInt);
  Expect.isTrue(bsonObjectFrom("asdfasdf") is BsonString);  
}
main(){
  group("BsonTypesTest:", (){
    test("typeTest",typeTest);
  });  
}