Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lib4neuro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MolDyn
lib4neuro
Commits
ba900b05
Commit
ba900b05
authored
7 years ago
by
Martin Mrovec
Browse files
Options
Downloads
Patches
Plain Diff
FIX: unit test suite for connection
parent
6962f28c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/connection_m.fun
+2
-7
2 additions, 7 deletions
src/connection_m.fun
with
2 additions
and
7 deletions
src/connection_m.fun
+
2
−
7
View file @
ba900b05
...
...
@@ -7,8 +7,6 @@
test_suite
connection_m
!
Global
variables
declaration
class
(
neuron_t
),
target
::
n1
class
(
neuron_t
),
target
::
n2
class
(
neuron_t
),
pointer
::
n1_p
class
(
neuron_t
),
pointer
::
n2_p
...
...
@@ -25,11 +23,8 @@ setup
write
(*
,*)
'
|
SETUP
BEFORE
UNIT
TEST
|
'
write
(*
,*)
'
+------------------------+
'
write
(*
,*)
'Creating
instances
of
the
class
mock_neuron_t
.
..
'
n1
=
mock_neuron_t
()
n2
=
mock_neuron_t
()
write
(*
,*)
'Assigning
instances
to
pointer
.
..
'
n1_p
=>
n1
n2_p
=>
n2
n1_p
=>
mock_neuron_t
()
n2_p
=>
mock_neuron_t
()
write
(*
,*)
'Creating
an
instance
of
the
class
interval_connection_t
.
..
'
con
=>
connection_t
(
n1_p
,
n2_p
,
5.25
)
nullify
(
dummy_p
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment