File: test_R0Models.py

package info (click to toggle)
pyxrd 0.8.4-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,644 kB
  • sloc: python: 26,501; sh: 301; makefile: 128
file content (81 lines) | stat: -rw-r--r-- 2,227 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/usr/bin/python

# coding=UTF-8
# ex:ts=4:sw=4:et=on

# Copyright (c) 2013, Mathijs Dumon
# All rights reserved.
# Complete license can be found in the LICENSE file.

from .base import AbstractTestProbModel

from test.utils import create_object_attribute_test

from pyxrd.probabilities.models.R0models import *
import unittest

__all__ = [
    'TestR0G1Model',
    'TestR0G2Model',
    'TestR0G3Model',
    'TestR0G4Model',
    'TestR0G5Model',
    'TestR0G6Model'
]

class TestR0G1Model(AbstractTestProbModel, unittest.TestCase):

    prob_model_type = R0G1Model

    pass # end of class

class TestR0G2Model(AbstractTestProbModel, unittest.TestCase):

    prob_model_type = R0G2Model

    test_F1 = create_object_attribute_test("prob_model", "F1", 0.7)

    pass # end of class

class TestR0G3Model(AbstractTestProbModel, unittest.TestCase):

    prob_model_type = R0G3Model

    test_F1 = create_object_attribute_test("prob_model", "F1", 0.7)
    test_F2 = create_object_attribute_test("prob_model", "F2", 0.7)

    pass # end of class

class TestR0G4Model(AbstractTestProbModel, unittest.TestCase):

    prob_model_type = R0G4Model

    test_F1 = create_object_attribute_test("prob_model", "F1", 0.7)
    test_F2 = create_object_attribute_test("prob_model", "F2", 0.7)
    test_F3 = create_object_attribute_test("prob_model", "F3", 0.7)

    pass # end of class

class TestR0G5Model(AbstractTestProbModel, unittest.TestCase):

    prob_model_type = R0G5Model

    test_F1 = create_object_attribute_test("prob_model", "F1", 0.7)
    test_F2 = create_object_attribute_test("prob_model", "F2", 0.7)
    test_F3 = create_object_attribute_test("prob_model", "F3", 0.7)
    test_F4 = create_object_attribute_test("prob_model", "F4", 0.7)


    pass # end of class

class TestR0G6Model(AbstractTestProbModel, unittest.TestCase):

    prob_model_type = R0G6Model

    test_F1 = create_object_attribute_test("prob_model", "F1", 0.7)
    test_F2 = create_object_attribute_test("prob_model", "F2", 0.7)
    test_F3 = create_object_attribute_test("prob_model", "F3", 0.7)
    test_F4 = create_object_attribute_test("prob_model", "F4", 0.7)
    test_F5 = create_object_attribute_test("prob_model", "F5", 0.7)

    pass # end of class