test Package

test_segment Module

Unit tests for the Segment class

class neuroml.test.test_segment.TestAttachedSegments(methodName='runTest')

Bases: unittest.case.TestCase

class neuroml.test.test_segment.TestHelperProperties(methodName='runTest')

Bases: unittest.case.TestCase

Tests for helper properties for volume, area etc

These are not part of the neuroML schema itself

runTest()
test_area()
test_area0()
test_area1()
test_length()
test_length0()
test_volume()
test_volume0()
test_volume1()
class neuroml.test.test_segment.TestSingleSegment(methodName='runTest')

Bases: unittest.case.TestCase

test_distal_coordinates()
test_distal_diameter()
test_proximal_coordinates()
test_proximal_diameter()