Assertions - dylanparry/ceylon GitHub Wiki
Using Ceylon with TypeScript will provide you with full Intellisense within your chosen IDE. This means that you'll only be shown the assertions that are suitable for the data type that you are testing. For example, if the item you are testing is a boolean, you won't see assertions that relate to numbers.
Table of Contents
Basic Assertions
Some assertions are available on all types and can be used to test any object.
Assertions by Type
The following additional types of assertion are available:
- Array Assertions
- Boolean Assertions
- Function Assertions
- Number Assertions
- Object Assertions
- String Assertions
Custom Assertions
It is also possible to write custom assertions that allow you to write tests that aren't covered by the assertions on the pages listed above.