Skip to content

Commit 53c77d8

Browse files
authored
Merge pull request #6 from JerilynFranz/tests - 0.9.4 release
0.9.4 release - Addition of tests for is_triekeytoke(), is_hashable(), get() methods and for TrieEntry(). Fixed bugs in TrieEntry __eq__ and __hash__ dunder methods. Rewrote __getitem__ and __contains__ dunder tests, added __delitem__ dunder tests. Excluded test_play.py and testspec.py from coverage measurements. Changed Nodes class to use __slots__ for attributes. Added tuplization of keys when creating TrieEntrys' to aid in immutability preservation.
2 parents 8fbf1b8 + f39eab5 commit 53c77d8

21 files changed

+1166
-353
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@
2525
* 0.9.1 - Added 'runtime_validation' property and initialization parameter for performance. Tweaked use of pyright directives to reduce visual noise in code. Simplified GeneralizedKey alias declaration by removing explict inclusion of 'str'.
2626
* 0.9.2 - Refactor of exceptions and test code to use tagged exceptions. Seperation of testspecs testing framework into seperate file. First iteration of benchmarking code.
2727
* 0.9.3 - Addition of coverage support. Tests for traversal.py. pytest support. Test orchestration using pytest-order and pytest-dependency. Fixed TrieValueError export.
28+
* 0.9.4 - Addition of tests for is_triekeytoke(), is_hashable(), get() methods and for TrieEntry(). Fixed bugs in TrieEntry __eq__ and __hash__ dunder methods. Rewrote __getitem__ and __contains__ dunder tests, added __delitem__ dunder tests. Excluded test_play.py and testspec.py from coverage measurements. Changed Nodes class to use __slots__ for attributes. Added tuplization of keys when creating TrieEntrys' to aid in immutability preservation.

docs/html/.buildinfo.bak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 9571a42aa11f6494d3b2a158bf69a227
3+
config: e4d6d212882c2343c907aa4e56dbd288
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/html/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '0.9.3',
2+
VERSION: '0.9.4',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

docs/html/genindex.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white" />
1313
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black" />
1414

15-
<title>Index | gen-tries 0.9.3 documentation</title>
16-
<meta property="og:title" content="Index | gen-tries 0.9.3 documentation" />
17-
<meta name="twitter:title" content="Index | gen-tries 0.9.3 documentation" />
15+
<title>Index | gen-tries 0.9.4 documentation</title>
16+
<meta property="og:title" content="Index | gen-tries 0.9.4 documentation" />
17+
<meta name="twitter:title" content="Index | gen-tries 0.9.4 documentation" />
1818
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=c309799c" />
1919
<link rel="stylesheet" type="text/css" href="_static/theme.css?v=42baaae4" />
2020
<link rel="search" title="Search" href="search.html" />
@@ -39,7 +39,7 @@
3939
</a><header
4040
class="sticky top-0 z-40 w-full border-b shadow-sm border-border supports-backdrop-blur:bg-background/60 bg-background/95 backdrop-blur"><div class="container flex items-center h-14">
4141
<div class="hidden mr-4 md:flex">
42-
<a href="index.html" class="flex items-center mr-6"><span class="hidden font-bold sm:inline-block text-clip whitespace-nowrap">gen-tries 0.9.3 documentation</span>
42+
<a href="index.html" class="flex items-center mr-6"><span class="hidden font-bold sm:inline-block text-clip whitespace-nowrap">gen-tries 0.9.4 documentation</span>
4343
</a></div><button
4444
class="inline-flex items-center justify-center h-10 px-0 py-2 mr-2 text-base font-medium transition-colors rounded-md hover:text-accent-foreground hover:bg-transparent md:hidden"
4545
type="button" @click="showSidebar = true">
@@ -94,7 +94,7 @@
9494
class="fixed inset-y-0 left-0 md:top-14 z-50 md:z-30 bg-background md:bg-transparent transition-all duration-100 -translate-x-full md:translate-x-0 ml-0 p-6 md:p-0 md:-ml-2 md:h-[calc(100vh-3.5rem)] w-5/6 md:w-full shrink-0 overflow-y-auto border-r border-border md:sticky"
9595
:aria-hidden="!showSidebar" :class="{ 'translate-x-0': showSidebar }">
9696

97-
<a href="index.html" class="!justify-start text-sm md:!hidden bg-background"><span class="font-bold text-clip whitespace-nowrap">gen-tries 0.9.3 documentation</span>
97+
<a href="index.html" class="!justify-start text-sm md:!hidden bg-background"><span class="font-bold text-clip whitespace-nowrap">gen-tries 0.9.4 documentation</span>
9898
</a>
9999

100100
<div class="relative overflow-hidden md:overflow-auto my-4 md:my-0 h-[calc(100vh-8rem)] md:h-auto">
@@ -126,7 +126,7 @@
126126
class="flex items-center mb-4 space-x-1 text-sm text-muted-foreground">
127127
<a class="overflow-hidden text-ellipsis whitespace-nowrap hover:text-foreground"
128128
href="index.html">
129-
<span class="hidden md:inline">gen-tries 0.9.3 documentation</span>
129+
<span class="hidden md:inline">gen-tries 0.9.4 documentation</span>
130130
<svg xmlns="http://www.w3.org/2000/svg"
131131
height="18"
132132
width="18"
@@ -164,7 +164,7 @@ <h2 id="A">A</h2>
164164
<h2 id="C">C</h2>
165165
<table style="width: 100%" class="indextable genindextable"><tr>
166166
<td style="width: 33%; vertical-align: top;"><ul style="margin-left:0;list-style-type:none">
167-
<li><a href="gentrie.html#gentrie.nodes.Node.children">children (gentrie.nodes.Node attribute)</a>
167+
<li><a href="gentrie.html#gentrie.nodes.Node.children">children (gentrie.nodes.Node attribute)</a>, <a href="gentrie.html#id0">[1]</a>
168168

169169
<ul style="list-style-type:none">
170170
<li><a href="gentrie.trie.html#gentrie.trie.trie_mixins.TrieMixinsInterface.children">(gentrie.trie.trie_mixins.TrieMixinsInterface attribute)</a>
@@ -386,7 +386,7 @@ <h2 id="H">H</h2>
386386
<h2 id="I">I</h2>
387387
<table style="width: 100%" class="indextable genindextable"><tr>
388388
<td style="width: 33%; vertical-align: top;"><ul style="margin-left:0;list-style-type:none">
389-
<li><a href="gentrie.html#gentrie.nodes.Node.ident">ident (gentrie.nodes.Node attribute)</a>
389+
<li><a href="gentrie.html#gentrie.nodes.Node.ident">ident (gentrie.nodes.Node attribute)</a>, <a href="gentrie.html#id1">[1]</a>
390390

391391
<ul style="list-style-type:none">
392392
<li><a href="gentrie.trie.html#gentrie.trie.trie_mixins.TrieMixinsInterface.ident">(gentrie.trie.trie_mixins.TrieMixinsInterface attribute)</a>
@@ -513,7 +513,7 @@ <h2 id="N">N</h2>
513513
<h2 id="P">P</h2>
514514
<table style="width: 100%" class="indextable genindextable"><tr>
515515
<td style="width: 33%; vertical-align: top;"><ul style="margin-left:0;list-style-type:none">
516-
<li><a href="gentrie.html#gentrie.nodes.Node.parent">parent (gentrie.nodes.Node attribute)</a>
516+
<li><a href="gentrie.html#gentrie.nodes.Node.parent">parent (gentrie.nodes.Node attribute)</a>, <a href="gentrie.html#id2">[1]</a>
517517

518518
<ul style="list-style-type:none">
519519
<li><a href="gentrie.trie.html#gentrie.trie.trie_mixins.TrieMixinsInterface.parent">(gentrie.trie.trie_mixins.TrieMixinsInterface attribute)</a>
@@ -596,7 +596,7 @@ <h2 id="S">S</h2>
596596
<h2 id="T">T</h2>
597597
<table style="width: 100%" class="indextable genindextable"><tr>
598598
<td style="width: 33%; vertical-align: top;"><ul style="margin-left:0;list-style-type:none">
599-
<li><a href="gentrie.html#gentrie.nodes.Node.token">token (gentrie.nodes.Node attribute)</a>
599+
<li><a href="gentrie.html#gentrie.nodes.Node.token">token (gentrie.nodes.Node attribute)</a>, <a href="gentrie.html#id3">[1]</a>
600600

601601
<ul style="list-style-type:none">
602602
<li><a href="gentrie.trie.html#gentrie.trie.trie_mixins.TrieMixinsInterface.token">(gentrie.trie.trie_mixins.TrieMixinsInterface attribute)</a>
@@ -696,9 +696,11 @@ <h2 id="U">U</h2>
696696
<h2 id="V">V</h2>
697697
<table style="width: 100%" class="indextable genindextable"><tr>
698698
<td style="width: 33%; vertical-align: top;"><ul style="margin-left:0;list-style-type:none">
699-
<li><a href="gentrie.trie.html#gentrie.trie.trie_mixins.TrieMixinsInterface.value">value (gentrie.trie.trie_mixins.TrieMixinsInterface attribute)</a>
699+
<li><a href="gentrie.html#gentrie.nodes.Node.value">value (gentrie.nodes.Node attribute)</a>
700700

701701
<ul style="list-style-type:none">
702+
<li><a href="gentrie.trie.html#gentrie.trie.trie_mixins.TrieMixinsInterface.value">(gentrie.trie.trie_mixins.TrieMixinsInterface attribute)</a>
703+
</li>
702704
<li><a href="gentrie.html#gentrie.TrieEntry.value">(gentrie.TrieEntry attribute)</a>
703705
</li>
704706
<li><a href="gentrie.html#gentrie.types.TrieEntry.value">(gentrie.types.TrieEntry attribute)</a>
@@ -736,7 +738,7 @@ <h2 id="V">V</h2>
736738
</footer>
737739
</div>
738740

739-
<script src="_static/documentation_options.js?v=0e439607"></script>
741+
<script src="_static/documentation_options.js?v=c5ca06ca"></script>
740742
<script src="_static/doctools.js?v=9bcbadda"></script>
741743
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
742744
<script defer="defer" src="_static/theme.js?v=073f68d9"></script>

0 commit comments

Comments
 (0)