Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Add assignment operator to the TestBar test util class. #185

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 1, 2020

  1. Add assignment operator to TestBar test util class.

    I added a an assignment operator to the class, and I added a field
    named `magic` that I set to certain value during
    construction. Only an object that has been constructed is likely to
    have that magic value properly set.
    
    An assignment precondition is that the left-hand side is valid.
    The assignment operators I added assert that the `magic` member of
    the lhs has the correct value.
    hwinkler committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    10fc9e0 View commit details
    Browse the repository at this point in the history