Skip to content

Import unit tests for Owned, OpsManaged and SafeMath - #73

Merged
abhayks1 merged 3 commits into
developfrom
benjaminbollen/gh4/testmigration
Dec 18, 2017
Merged

Import unit tests for Owned, OpsManaged and SafeMath#73
abhayks1 merged 3 commits into
developfrom
benjaminbollen/gh4/testmigration

Conversation

@benjaminbollen

Copy link
Copy Markdown
Contributor

fixes #4

// Copyright 2017 OpenST Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any specific reason for SafeMatchMock contract? Can't we use SafeMatch contract in SafeMath.js directly?

import "./SafeMath.sol";


contract SafeMathMock {

@abhayks1 abhayks1 Dec 15, 2017

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need "is SafeMath" to inherit SafeMath.sol functionality here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the idea is to have this contract call on SafeMath.sol (and inheriting it may tell the compiler to optimise it out)

@abhayks1
abhayks1 merged commit fec622b into develop Dec 18, 2017
@benjaminbollen
benjaminbollen deleted the benjaminbollen/gh4/testmigration branch December 21, 2017 16:19
@jasonklein jasonklein modified the milestones: v0.9.3, v0.9.2 Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate tests from SimpleTokenSale

3 participants