Advertisement
Guest User

Untitled

a guest
Oct 10th, 2013
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// <reference path="Test.ts" />
  2.  
  3. declare var describe, it, expect;
  4.  
  5. describe("Tests for System.Collections.Generic.List<T>", () =>
  6. {
  7.    it("should return 3 elements when calling count().", () =>
  8.    {
  9.       var myList = new System.Collections.Generic.List<string>();
  10.  
  11.       myList.add("test");
  12.       myList.add("test2");
  13.       myList.add("test3");
  14.  
  15.       expect(myList.count()).toBe(3);
  16.    });
  17. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement