Commit 06721060 authored by Malthe Kjær Bisbo's avatar Malthe Kjær Bisbo
Browse files

modified moduse structure, added test of imports and changed documentation...

modified moduse structure, added test of imports and changed documentation accordingly as some import statements have changed as a result
parent 752fd85b
from surrogate.gpr import GPR
from surrogate.descriptor.fingerprint import Fingerprint
from surrogate.prior.prior import RepulsivePrior
__all__ = ['GPR', 'Fingerprint', 'RepulsivePrior']
\ No newline at end of file
import unittest
class test_importing(unittest.TestCase):
def test_all_imports(self):
from gofee import GOFEE
from gofee.surrogate import GPR, Fingerprint, RepulsivePrior
from gofee.surrogate.kernel import GaussKernel, DoubleGaussKernel
from gofee.candidates import CandidateGenerator, StartGenerator
from gofee.candidates import RattleMutation, RattleMutation2, PermutationMutation
from gofee.utils import OperationConstraint
if __name__ == '__main__':
unittest.main()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment