• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

abs-lang / abs / 1280
75%
master: 63%

Build:
Build:
LAST BUILD BRANCH: 2.8.x
DEFAULT BRANCH: master
Ran 27 Mar 2020 12:58PM UTC
Jobs 3
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Mar 2020 12:57PM UTC coverage: 74.32% (+0.03%) from 74.286%
1280

push

travis-ci-com

odino
symmetric vs asymmetric difference

Computes the difference between 2 arrays,
returning elements that are only on the first array:

```bash
[1, 2, 3].diff([]) # [1, 2, 3]
[1, 2, 3].diff([3]) # [1, 2]
[1, 2, 3].diff([3, 1]) # [2]
[1, 2, 3].diff([1, 2, 3, 4]) # []
```

For symmetric difference see [diff_symmetric(...)](#diff_symmetricarray)

Computes the [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
between 2 arrays (elements that are only on either of the 2):

```bash
[1, 2, 3].diff([]) # [1, 2, 3]
[1, 2, 3].diff([3]) # [1, 2]
[1, 2, 3].diff([3, 1]) # [2]
[1, 2, 3].diff([1, 2, 3, 4]) # [4]
```

17 of 17 new or added lines in 1 file covered. (100.0%)

3360 of 4521 relevant lines covered (74.32%)

245.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1280.1 (GO111MODULE=on CONTEXT=abs) 27 Mar 2020 12:59PM UTC 0
73.32
Travis Job 1280.1
2 1280.2 (GO111MODULE=on CONTEXT=abs) 27 Mar 2020 12:58PM UTC 0
74.28
Travis Job 1280.2
3 1280.3 (GO111MODULE=on CONTEXT=abs) 27 Mar 2020 12:59PM UTC 0
74.28
Travis Job 1280.3
Source Files on build 1280
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1280
  • 70866a00 on github
  • Prev Build on 1.12.x (#1275)
  • Next Build on 1.12.x (#1284)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc