Created
February 13, 2014 15:15
-
-
Save robinboehm/8976835 to your computer and use it in GitHub Desktop.
task variable names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" type="text/css" href="bower_components/jasmine/lib/jasmine-core/jasmine.css"> | |
<link rel="stylesheet" type="text/css" href="css/jasmine.css"> | |
</head> | |
<body> | |
<script src="bower_components/jasmine/lib/jasmine-core/jasmine.js"></script> | |
<script src="bower_components/jasmine/lib/jasmine-core/jasmine-html.js"></script> | |
<script src="bower_components/jasmine/lib/jasmine-core/boot.js"></script> | |
<!-- App --> | |
<script src="task.js"></script> | |
<!-- Spec --> | |
<script src="spec.js"></script> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("A simpleValue variable", function () { | |
it("should be defined", function () { | |
expect(simpleValue).toBeDefined(); | |
}); | |
it("should be a number", function () { | |
expect(typeof simpleValue).toBe('number'); | |
}); | |
it("should be 3", function () { | |
expect(simpleValue).toBe(3); | |
}); | |
}); | |
describe("A $impl3Value___ variable", function () { | |
it("should be defined", function () { | |
expect($impl3Value___).toBeDefined(); | |
}); | |
it("should be a number", function () { | |
expect(typeof $impl3Value___).toBe('number'); | |
}); | |
it("should be 1", function () { | |
expect($impl3Value___).toBe(1); | |
}); | |
}); | |
describe("A π variable", function () { | |
it("should be defined", function () { | |
expect(π).toBeDefined(); | |
}); | |
it("should be a number", function () { | |
expect(typeof π).toBe('number'); | |
}); | |
it("should be 3.141592... -> Math.PI", function () { | |
expect(π).toBe(Math.PI); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment