Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
ortools.math_opt.python.testing.compare_proto.MathOptProtoAssertions Class Reference

Detailed Description

Provides a custom MathOpt proto equivalence assertion for tests.

Definition at line 74 of file compare_proto.py.

Inheritance diagram for ortools.math_opt.python.testing.compare_proto.MathOptProtoAssertions:

Public Member Functions

None assert_protos_equal (self, message.Message actual, message.Message expected)
None assert_protos_equiv (self, message.Message actual, message.Message expected)

Member Function Documentation

◆ assert_protos_equal()

None ortools.math_opt.python.testing.compare_proto.MathOptProtoAssertions.assert_protos_equal ( self,
message.Message actual,
message.Message expected )
Asserts the input protos are equal, see module doc for details.

Definition at line 77 of file compare_proto.py.

◆ assert_protos_equiv()

None ortools.math_opt.python.testing.compare_proto.MathOptProtoAssertions.assert_protos_equiv ( self,
message.Message actual,
message.Message expected )
Asserts the input protos are equivalent, see module doc for details.

Definition at line 85 of file compare_proto.py.


The documentation for this class was generated from the following file: