modes:mod: doc for test_non_reflexivity
This commit is contained in:
@@ -14,6 +14,10 @@ pub trait Hand {
|
|||||||
|
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
/** Given two hands, assert that their footstool condition is non-reflexive.
|
||||||
|
* Return the results of the two footstool checks (x on y, y on x).
|
||||||
|
*/
|
||||||
pub fn test_non_reflexivity<T: Hand + Copy>(
|
pub fn test_non_reflexivity<T: Hand + Copy>(
|
||||||
x: &T,
|
x: &T,
|
||||||
y: &T,
|
y: &T,
|
||||||
|
|||||||
Reference in New Issue
Block a user