original.name="While_Valid_50" ====== >>> main.whiley function count(int n) -> (int r) requires n >= 0 ensures r == n || r == 2: // int i = 0 // while i < n where i >= 0 && i <= n: if i == 2: break i = i + 1 // return i public export method test(): assume count(0) == 0 assume count(1) == 1 assume count(2) == 2 assume count(3) == 2 ---