File: test_surface_point.py

package info (click to toggle)
apbs 3.4.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 199,188 kB
  • sloc: ansic: 284,988; cpp: 60,416; fortran: 44,896; xml: 13,895; sh: 13,838; python: 8,105; yacc: 2,922; makefile: 1,428; f90: 989; objc: 448; lex: 294; awk: 266; sed: 205; java: 134; csh: 79
file content (11 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
from apbs.geometry import SurfacePoint
import pytest


class TestSurface:
    def test_is_on_surf(self):
        sut = SurfacePoint(0, 0, 0)
        assert not sut.is_on_surf

        sut = SurfacePoint(0, 0, 0, is_on_surf=True)
        assert sut.is_on_surf