Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Sep 4, 2024
1 parent 48b6b53 commit 76f5e6d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/unit/damask/test_reference.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# coding: utf-8
# Copyright (c) Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department
# Distributed under the terms of "New BSD License", see the LICENSE file.

import unittest
from pyiron_continuum.damask.reference.yaml import get_plasticity, get_elasticity
import unittest


class TestReference(unittest.TestCase):
def test_content(self):
plasticity = get_plasticity()
self.assertIsInstance(plasticity, dict)
self.assertGreater(len(plasticity), 0)

elasticity = get_elasticity()
self.assertIsInstance(elasticity, dict)
self.assertGreater(len(elasticity), 0)


if __name__ == "__main__":
unittest.main()

0 comments on commit 76f5e6d

Please sign in to comment.