Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <reference path="Test.ts" />
- declare var describe, it, expect;
- describe("Tests for System.Collections.Generic.List<T>", () =>
- {
- it("should return 3 elements when calling count().", () =>
- {
- var myList = new System.Collections.Generic.List<string>();
- myList.add("test");
- myList.add("test2");
- myList.add("test3");
- expect(myList.count()).toBe(3);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement