History log of /seL4-l4v-master/HOL4/src/portableML/selftest.sml
Revision Date Author Comments
# 29f6ddb6 13-Jan-2020 Michael Norrish <michael.norrish@data61.csiro.au>

Fix HOLsexp selftest given change to API (fromList -> List)


# 87198bcf 12-Jan-2020 Michael Norrish <michael.norrish@data61.csiro.au>

Implement s-expression type for use in serialisation applications


# 23be13f5 10-Dec-2019 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix UTF8.substring to work on start indexes <> 0


# 53a2a873 11-Dec-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Implement Portable.mapfilter to evaluate from left to right

Thanks to Konrad for noticing the misfeature of the previous
behaviour.


# a540f29e 01-Jul-2015 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix blemish in output from portableML/selftest.sml


# 7e7280ec 01-Jul-2015 Michael Norrish <Michael.Norrish@nicta.com.au>

Provide a UTF8-aware padRight function

This can then be used in the testing routines that want pretty output
that might include non-ASCII characters.


# 893569d9 22-Mar-2015 Michael Norrish <Michael.Norrish@nicta.com.au>

UTF8.getChar was too liberal.

In particular, it allowed UTF8 encodings that used more bytes than they
should. Fixed this and added a bunch of test-cases. Also, stopped
getChar from decoding past the maximum allowed code-point.

Thanks to Rob Arthan for the bug report.

Closes #237


# 4bb036a8 21-Nov-2013 Michael Norrish <michael.norrish@nicta.com.au>

Get new selftest (from db32edaf6) to actually compile. (Sheesh)


# db32edaf 21-Nov-2013 Michael Norrish <michael.norrish@nicta.com.au>

Self-test for important "non-idempotence" property of HOLsets.

In particular, if the set's comparison function is an equivalence
relation, then check that adding x0 and then x1 (where x0 \equiv x1),
results in a set containing x1, not x0.


# d3f1ce9c 25-Mar-2013 Michael Norrish <michael.norrish@nicta.com.au>

Fix bug in Redblackset.isSubset (empty sets were only subsets of empty sets)

This came up while investigating github issue #113