1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

update tests and examples after the mutability fix

This commit is contained in:
Alexander Medvednikov
2019-11-06 06:57:04 +03:00
parent b720bb2e77
commit f6d06fcda2
6 changed files with 27 additions and 26 deletions

View File

@ -134,7 +134,7 @@ fn test_complex_angle(){
assert (c.angle() * 180 / math.pi).eq(135)
c = cmplx.complex(-1, -1)
assert (c.angle() * 180 / math.pi).eq(-135)
mut cc := c.conjugate()
cc := c.conjugate()
assert (cc.angle() + c.angle()).eq(0)
}