Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
trs
Commits
dd9a2e41
Commit
dd9a2e41
authored
Feb 23, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied correct commits of master branch.
parent
ba89b4c5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
9 deletions
+1
-9
TODO
TODO
+0
-5
tests/test_leiden_oefenopgave_v12.py
tests/test_leiden_oefenopgave_v12.py
+0
-2
tests/test_rules_goniometry.py
tests/test_rules_goniometry.py
+1
-2
No files found.
TODO
View file @
dd9a2e41
...
...
@@ -84,8 +84,3 @@ smvv@multivac ~/work/trs $ printf "0/1\n??" | ./main.py
<Possibility root="0 / 1" handler=divide_numerics args=(0, 1)>
Division of 0 by 1 reduces to 0.
Division of 0 by 1 reduces to 0.
- Should powers have a higher precedence thatn negation while printing?
the current situation: -(x ^ 2) and -x ^ 2 (the latter instead of (-x) ^ 2)
might be desired: -x ^ 2 instead of -(x ^ 2), and explicit parentheses for
(-x) ^ 2
tests/test_leiden_oefenopgave_v12.py
View file @
dd9a2e41
...
...
@@ -34,5 +34,3 @@ class TestLeidenOefenopgaveV12(TestCase):
'-72x ^ 3 + 96x ^ 2 - x * 32'
,
'-72x ^ 3 + 96x ^ 2 + 32 * -x'
,
'-72x ^ 3 + 96x ^ 2 - 32x'
])
# TODO: Should powers have a higher precedence than negation
# while printing?
tests/test_rules_goniometry.py
View file @
dd9a2e41
...
...
@@ -13,5 +13,4 @@ class TestRulesGoniometry(RulesTestCase):
def
test_add_quadrants
(
self
):
return
root
=
tree
(
'sin(x) ^ 2 + cos(x) ^ 2'
)
self
.
assertEqual
(
add_quadrants
(
root
,
()),
1
)
self
.
assertEqual
(
add_quadrants
(
None
,
()),
1
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment