Index

A C D E F G H I O P R S T W X Y Z 
All Classes and Interfaces|All Packages

A

assertIsStopped() - Method in class com.team2813.lib2813.testing.FakeMotor
Assert that the motor is stopped.
assertThat(Pose2d) - Static method in class com.team2813.lib2813.testing.truth.Pose2dSubject
 
assertThat(Pose3d) - Static method in class com.team2813.lib2813.testing.truth.Pose3dSubject
 
assertThat(Rotation2d) - Static method in class com.team2813.lib2813.testing.truth.Rotation2dSubject
 
assertThat(Rotation3d) - Static method in class com.team2813.lib2813.testing.truth.Rotation3dSubject
 
assertThat(Translation2d) - Static method in class com.team2813.lib2813.testing.truth.Translation2dSubject
 
assertThat(Translation3d) - Static method in class com.team2813.lib2813.testing.truth.Translation3dSubject
 

C

com.team2813.lib2813.testing - package com.team2813.lib2813.testing
 
com.team2813.lib2813.testing.junit.jupiter - package com.team2813.lib2813.testing.junit.jupiter
 
com.team2813.lib2813.testing.truth - package com.team2813.lib2813.testing.truth
 
CommandTester - Interface in com.team2813.lib2813.testing.junit.jupiter
Allows tests to run commands.

D

demand - Variable in class com.team2813.lib2813.testing.FakeMotor
 

E

equals(Object) - Method in class com.team2813.lib2813.testing.truth.TolerantComparison
Deprecated.
Object.equals(Object) is not supported on TolerantComparison. If you meant to compare doubles, use TolerantComparison.of(T) instead.

F

FakeMotor - Class in com.team2813.lib2813.testing
A fake implementation of Motor; used for testing.
FakeMotor() - Constructor for class com.team2813.lib2813.testing.FakeMotor
 

G

getAppliedCurrent() - Method in class com.team2813.lib2813.testing.FakeMotor
getControlMode() - Method in class com.team2813.lib2813.testing.FakeMotor
Gets the control mode used for the most recent time the demand value was updated for this motor.
getDemand() - Method in class com.team2813.lib2813.testing.FakeMotor
Gets the most recently applied demand value for this motor.
getFeedForward() - Method in class com.team2813.lib2813.testing.FakeMotor
Gets the feedforward that was applied.
getMotorVoltage() - Method in class com.team2813.lib2813.testing.FakeMotor
Gets the current voltage being applied to the motor.
getRadians() - Method in class com.team2813.lib2813.testing.truth.Rotation2dSubject
 

H

hashCode() - Method in class com.team2813.lib2813.testing.truth.TolerantComparison
Deprecated.
Object.hashCode() is not supported on TolerantComparison

I

InitWPILib - Annotation Interface in com.team2813.lib2813.testing.junit.jupiter
JUnit Jupiter annotation used to signal tests that depends on WPILib.
isWithin(double) - Method in class com.team2813.lib2813.testing.truth.Pose2dSubject
 
isWithin(double) - Method in class com.team2813.lib2813.testing.truth.Pose3dSubject
 
isWithin(double) - Method in class com.team2813.lib2813.testing.truth.Rotation2dSubject
 
isWithin(double) - Method in class com.team2813.lib2813.testing.truth.Rotation3dSubject
 
isWithin(double) - Method in class com.team2813.lib2813.testing.truth.Translation2dSubject
 
isWithin(double) - Method in class com.team2813.lib2813.testing.truth.Translation3dSubject
 
isZero() - Method in class com.team2813.lib2813.testing.truth.Rotation2dSubject
 
isZero() - Method in class com.team2813.lib2813.testing.truth.Rotation3dSubject
 
isZero() - Method in class com.team2813.lib2813.testing.truth.Translation2dSubject
 
isZero() - Method in class com.team2813.lib2813.testing.truth.Translation3dSubject
 

O

of(T) - Method in class com.team2813.lib2813.testing.truth.TolerantComparison
Fails if the subject was expected to be within the tolerance of the given value but was not.

P

periodicPeriod() - Element in annotation interface com.team2813.lib2813.testing.junit.jupiter.InitWPILib
The time stepped in between each periodic run when running a command.
pose2ds() - Static method in class com.team2813.lib2813.testing.truth.Pose2dSubject
 
Pose2dSubject - Class in com.team2813.lib2813.testing.truth
Truth Subject for making assertions about Pose2d values.
pose3ds() - Static method in class com.team2813.lib2813.testing.truth.Pose3dSubject
 
Pose3dSubject - Class in com.team2813.lib2813.testing.truth
Truth Subject for making assertions about Pose3d values.
ProvideUniqueNetworkTableInstance - Annotation Interface in com.team2813.lib2813.testing.junit.jupiter
JUnit Jupiter annotation used to signal tests that need an isolated NetworkTableInstance.

R

replacePreferencesNetworkTable() - Element in annotation interface com.team2813.lib2813.testing.junit.jupiter.ProvideUniqueNetworkTableInstance
Whether to call Preferences.setNetworkTableInstance(edu.wpi.first.networktables.NetworkTableInstance) with the temporary network table instance before starting each test.
resistance - Variable in class com.team2813.lib2813.testing.FakeMotor
 
rotation() - Method in class com.team2813.lib2813.testing.truth.Pose2dSubject
 
rotation() - Method in class com.team2813.lib2813.testing.truth.Pose3dSubject
 
rotation2ds() - Static method in class com.team2813.lib2813.testing.truth.Rotation2dSubject
 
Rotation2dSubject - Class in com.team2813.lib2813.testing.truth
Truth Subject for making assertions about Rotation2d values.
rotation3ds() - Static method in class com.team2813.lib2813.testing.truth.Rotation3dSubject
 
Rotation3dSubject - Class in com.team2813.lib2813.testing.truth
Truth Subject for making assertions about Rotation3d values.
runUntilComplete(Command) - Method in interface com.team2813.lib2813.testing.junit.jupiter.CommandTester
Schedules the provided command and runs it until it completes.

S

set(ControlMode, double) - Method in class com.team2813.lib2813.testing.FakeMotor
 
set(ControlMode, double, double) - Method in class com.team2813.lib2813.testing.FakeMotor
stopMotor() - Method in class com.team2813.lib2813.testing.FakeMotor
 

T

TolerantComparison<T> - Class in com.team2813.lib2813.testing.truth
A partially specified check about an approximate relationship to a double subject using a tolerance.
translation() - Method in class com.team2813.lib2813.testing.truth.Pose2dSubject
 
translation() - Method in class com.team2813.lib2813.testing.truth.Pose3dSubject
 
translation2ds() - Static method in class com.team2813.lib2813.testing.truth.Translation2dSubject
 
Translation2dSubject - Class in com.team2813.lib2813.testing.truth
Truth Subject for making assertions about Translation2d values.
translation3ds() - Static method in class com.team2813.lib2813.testing.truth.Translation3dSubject
 
Translation3dSubject - Class in com.team2813.lib2813.testing.truth
Truth Subject for making assertions about Translation3d values.

W

waitForListenerQueueSeconds() - Element in annotation interface com.team2813.lib2813.testing.junit.jupiter.ProvideUniqueNetworkTableInstance
How long to wait for the listener queue to empty before destroying the temporary network table instance.

X

x() - Method in class com.team2813.lib2813.testing.truth.Rotation3dSubject
Returns a subject that can be used to make assertions about the counterclockwise rotation angle around the X axis (roll) in radians.
x() - Method in class com.team2813.lib2813.testing.truth.Translation2dSubject
 
x() - Method in class com.team2813.lib2813.testing.truth.Translation3dSubject
 

Y

y() - Method in class com.team2813.lib2813.testing.truth.Rotation3dSubject
Returns a subject that can be used to make assertions about the counterclockwise rotation angle around the Y axis (pitch) in radians.
y() - Method in class com.team2813.lib2813.testing.truth.Translation2dSubject
 
y() - Method in class com.team2813.lib2813.testing.truth.Translation3dSubject
 

Z

z() - Method in class com.team2813.lib2813.testing.truth.Rotation3dSubject
Returns a subject that can be used to make assertions about the counterclockwise rotation angle around the Z axis (yaw) in radians.
z() - Method in class com.team2813.lib2813.testing.truth.Translation3dSubject
 
A C D E F G H I O P R S T W X Y Z 
All Classes and Interfaces|All Packages