Home
last modified time | relevance | path

Searched refs:calculator_ui (Results 1 – 1 of 1) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc230 MathCalculatorUI calculator_ui(std::move(calc)); in TEST_F() local
233 calculator_ui.Add(2.0, run_loop.QuitClosure()); in TEST_F()
234 calculator_ui.Multiply(5.0, run_loop2.QuitClosure()); in TEST_F()
238 EXPECT_EQ(10.0, calculator_ui.GetOutput()); in TEST_F()
246 MathCalculatorUI calculator_ui(std::move(calc)); in TEST_F() local
248 EXPECT_EQ(0.0, calculator_ui.GetOutput()); in TEST_F()
251 calculator_ui.Add(2.0, run_loop.QuitClosure()); in TEST_F()
252 EXPECT_EQ(0.0, calculator_ui.GetOutput()); in TEST_F()
255 EXPECT_EQ(2.0, calculator_ui.GetOutput()); in TEST_F()
258 calculator_ui.Multiply(5.0, run_loop2.QuitClosure()); in TEST_F()
[all …]