whiley_test_file 0.6.2

An API for manipulating test files for the Whiley Programming Language.
Documentation
original.name="Quantifiers_Invalid_7"
js.execute.ignore=true
======
>>> main.whiley

function f(int[] ls) -> bool
requires some { i in 0 .. 4 | (i >= 0) && (i < |ls|) && (ls[i] < 0) }:
    return true

function g(int[] ls) 
requires |ls| > 0:
    f(ls)

public export method test():
    g([-1])
    g([1,2,3,-1])
    g([1,2,3,4,-1])
    g([1,2,3,4,5,-1])
---
E700 main.whiley 8,4:8
E716 main.whiley 8,4:8