#include <memory>
#include <vector>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "../examples/boris/physics.hpp"
#include "mocks.hpp"
Go to the source code of this file.
Typedefs | |
typedef MockParticle< double, double > | MockParticleT |
typedef ElectricField< double, double, MockParticle > | EFieldT |
typedef MagneticField< double, double, MockParticle > | BFieldT |
typedef MockEOperator< double, double > | EnergyOperatorT |
Functions | |
TEST (ElectricFieldTest, Instantiation) | |
TEST (ElectricFieldTest, OmegaZ) | |
TEST (ElectricFieldTest, Evaluation) | |
TEST (MagneticFieldTest, Instantiation) | |
TEST (MagneticFieldTest, OmegaC) | |
TEST (MagneticFieldTest, Evaluation) | |
TEST (EnergyOperatorTest, Evaluation) | |
int | main (int argc, char **argv) |
typedef MagneticField<double, double, MockParticle> BFieldT |
Definition at line 19 of file test_boris_physics.cpp.
typedef ElectricField<double, double, MockParticle> EFieldT |
Definition at line 18 of file test_boris_physics.cpp.
typedef MockEOperator<double, double> EnergyOperatorT |
Definition at line 20 of file test_boris_physics.cpp.
typedef MockParticle<double, double> MockParticleT |
Definition at line 16 of file test_boris_physics.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 92 of file test_boris_physics.cpp.
TEST | ( | ElectricFieldTest | , |
Instantiation | |||
) |
Definition at line 23 of file test_boris_physics.cpp.
TEST | ( | ElectricFieldTest | , |
OmegaZ | |||
) |
Definition at line 32 of file test_boris_physics.cpp.
TEST | ( | ElectricFieldTest | , |
Evaluation | |||
) |
Definition at line 39 of file test_boris_physics.cpp.
TEST | ( | MagneticFieldTest | , |
Instantiation | |||
) |
Definition at line 49 of file test_boris_physics.cpp.
TEST | ( | MagneticFieldTest | , |
OmegaC | |||
) |
Definition at line 58 of file test_boris_physics.cpp.
TEST | ( | MagneticFieldTest | , |
Evaluation | |||
) |
Definition at line 65 of file test_boris_physics.cpp.
TEST | ( | EnergyOperatorTest | , |
Evaluation | |||
) |
Definition at line 75 of file test_boris_physics.cpp.