Files
pplus-library/pseudo/programs/53-library.pseudo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

13 lines
541 B
Plaintext

// Routines from the library, called like the program's own: a run steps over each one, and the
// prover uses each one's REQUIRE and ENSURE at the call.
// EXPECT: 5.0 4.571428571428571
// EXPECT: 0.0 -0.0615234375
// EXPECT: 0
USE stats
USE md.LennardJones
USE align.NeedlemanWunschScore
DECLARE Samples : LIST OF FLOAT <- [2.0, 4.0, 4.0, 4.0, 5.0, 5.0, 7.0, 9.0]
OUTPUT Mean(Samples), " ", Variance(Samples)
OUTPUT LennardJones(1.0, 1.0, 1.0), " ", LennardJones(2.0, 1.0, 1.0)
OUTPUT NeedlemanWunschScore("GATTACA", "GCATGCU", 1, -1, -1)