Testing javascript closure in jasmine
<p>I am completely novice at using jasmine. I couldn't figure out how can I write a test case for a JavaScript closure like below.</p>

<p>My code in Typescript is as follows:</p>

<pre><code>module FIRST.Mobile.Controllers{
    "use strict";
    class sampletest
    {
        public subtract(a: number, b: number): number {
            return a - b;
        }
    }
}
</code></pre>

<p>And when converted to JavaScript it becomes:</p>

<pre><code>var FIRST;
(function (FIRST) {
    var Mobile;
    (function (Mobile) {
        var Controllers;
        (function (Controllers) {
            "use strict";
            var sampletest = (function () {
                function sampletest() {
                }
                sampletest.prototype.subtract = function (a, b) {
                    return a - b;
                };
                return sampletest;
            })();
        })(Controllers = Mobile.Controllers || (Mobile.Controllers = {}));
    })(Mobile = FIRST.Mobile || (FIRST.Mobile = {}));
})(FIRST || (FIRST = {}));
</code></pre>

<p>I do not understand if I could test code in a typescript module? 
If yes can some one explain me how could I test the subtract method using jasmine.</p>