fix some apis

This commit is contained in:
Luan Nico
2018-04-15 10:00:18 -03:00
parent 6871b2993a
commit 879b358ad3
7 changed files with 42 additions and 30 deletions

View File

@ -27,7 +27,7 @@ void main() {
});
test('test rotate', () {
Position p = new Position(1.0, 0.0).rotate(math.PI / 2);
Position p = new Position(1.0, 0.0).rotate(math.pi / 2);
expectDouble(p.x, 0.0);
expectDouble(p.y, 1.0);
});