problemscpp
A collection of my answers to algorithm problems in c++.
| 函数
leetcode::reaching_points 命名空间参考

  1. Reaching Points
更多...

class  Solution
 

函数

 TEST (reaching_points, case1)
 
 TEST (reaching_points, case2)
 
 TEST (reaching_points, case3)
 

详细描述

  1. Reaching Points

函数说明

◆ TEST() [1/3]

leetcode::reaching_points::TEST ( reaching_points  ,
case1   
)

在文件 leetcode_test.cpp2763 行定义.

2763 {
2764 ASSERT_TRUE(Solution::reachingPoints(1, 1, 3, 5));
2765 }

引用了 leetcode::reaching_points::Solution::reachingPoints().

◆ TEST() [2/3]

leetcode::reaching_points::TEST ( reaching_points  ,
case2   
)

在文件 leetcode_test.cpp2767 行定义.

2767 {
2768 ASSERT_FALSE(Solution::reachingPoints(1, 1, 2, 2));
2769 }

引用了 leetcode::reaching_points::Solution::reachingPoints().

◆ TEST() [3/3]

leetcode::reaching_points::TEST ( reaching_points  ,
case3   
)

在文件 leetcode_test.cpp2771 行定义.

2771 {
2772 ASSERT_TRUE(Solution::reachingPoints(1, 1, 1, 1));
2773 }

引用了 leetcode::reaching_points::Solution::reachingPoints().