fortran_tester
 All Classes Files Functions Variables Pages
test_tester_04.f90
Go to the documentation of this file.
1 ! This file is part of fortran_tester
2 ! Copyright 2018 Pierre de Buyl
3 ! License: BSD
4 
5 program test_tester_6
6  use tester
7  implicit none
8 
9  integer, parameter :: rk = selected_real_kind(15)
10  real(kind=rk), parameter :: pi = 4*atan(1._rk)
11  type(tester_t) :: test
12 
13  call test%init()
14 
15  call test%assert_close(sin(2*pi), 0._rk)
16 
17  call test%assert_close(sin(2*3.1415927), 0.)
18 
19  call test%print()
20 
21 end program test_tester_6
program test_tester_6
Routines to test Fortran programs.
Definition: tester.f90:11
The main tester class.
Definition: tester.f90:19