Mentions légales du service

Skip to content
Snippets Groups Projects
  • ANDREY Paul's avatar
    0420531a
    Implement assertion functions that complexify 'a == b'. · 0420531a
    ANDREY Paul authored
    The implemented functions are a convenience to reduce boilerplate
    code in unit tests, and improve the existing JSON-serializability
    check.
    They notably support comparing numpy arrays (optionally tolerating
    small absolute discrepancies), and ignoring tuple-list type change
    that typically result from JSON-serialization.
    0420531a
    History
    Implement assertion functions that complexify 'a == b'.
    ANDREY Paul authored
    The implemented functions are a convenience to reduce boilerplate
    code in unit tests, and improve the existing JSON-serializability
    check.
    They notably support comparing numpy arrays (optionally tolerating
    small absolute discrepancies), and ignoring tuple-list type change
    that typically result from JSON-serialization.