File: test_R3Models.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 (28 lines) | stat: -rw-r--r-- 647 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
#!/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.R3models import *
import unittest

__all__ = [
    'TestR3G2Model'
]

class TestR3G2Model(AbstractTestProbModel, unittest.TestCase):

    prob_model_type = R3G2Model

    test_W1 = create_object_attribute_test("prob_model", "W1", 0.7)
    test_P1111_or_P2112 = create_object_attribute_test("prob_model", "P1111_or_P2112", 0.7)

    pass # end of class