ceylon-sdk icon indicating copy to clipboard operation
ceylon-sdk copied to clipboard

Implement Summable, Invertible, Comparable for Duration

Open dlkw opened this issue 7 years ago • 3 comments

Implements #713

Are tests in ceylon-sdk supposed to be running through? I could not get them to compile:

[ceylon-compile] /home/d3/prj/ceylon/ceylon-sdk/test-source/test/ceylon/http/server/module.ceylon:13: error: cannot find module artifact 'npm:@angular/platform-browser-dynamic-2.0.0(.car|.jar)'
[ceylon-compile]     import io.netty "4.0.2.Final";
[ceylon-compile]     ^
[ceylon-compile]   due to connection error: Unknown suffix in @angular/platform-browser-dynamic
[ceylon-compile]   	- dependency tree: 'test.ceylon.http.server/1.3.4-SNAPSHOT' -> 'io.netty/4.0.2.Final' -> '@angular/platform-browser-dynamic/2.0.0'

Signed-off-by: Dirk Lattermann [email protected]

dlkw avatar Oct 05 '18 21:10 dlkw

Is the actual parameter supposed to come first in assertEquals?

CPColin avatar Oct 06 '18 00:10 CPColin

See the test module docs, so, yes.

dlkw avatar Oct 06 '18 07:10 dlkw

See the test module docs, so, yes.

Some of your tests have the expected value first, instead of the actual value.

CPColin avatar Oct 10 '18 15:10 CPColin