From 620e241556f12a03b6d44e03beb75172cf65cb30 Mon Sep 17 00:00:00 2001 From: C Huang Date: Mon, 6 Jan 2020 02:09:16 +0000 Subject: [PATCH] Removed x86 from .appveyor.yml --- .appveyor.yml | 1 - test/test_defects.jl | 23 ++++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 16bb9b0..f9e9b8f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,7 +4,6 @@ environment: - julia_version: 1.3 - julia_version: nightly platform: - - x86 - x64 matrix: allow_failures: diff --git a/test/test_defects.jl b/test/test_defects.jl index ad5e580..7a1dd1d 100644 --- a/test/test_defects.jl +++ b/test/test_defects.jl @@ -268,6 +268,7 @@ test_defects[5]._id = length(test_graphene) + 1 @test get_frame(test_stonewales) == 0 @test get_dataset(test_stonewales) == "dataset" @test get_noa(test_stonewales) == 16 + @test length(get_relatives(test_stonewales)) == 10 @test length(get_members(test_stonewales)) == 39 @test get_type(test_stonewales) == "Stone-Wales" end @@ -277,33 +278,37 @@ end @test get_frame(test_5775) == 0 @test get_dataset(test_5775) == "dataset" @test get_noa(test_5775) == 18 + @test length(get_relatives(test_5775)) == 12 @test length(get_members(test_5775)) == 43 @test get_type(test_5775) == "5775" end -@testset "Flower" begin - @test get_id(test_flower) == length(test_graphene) + 1 - @test get_frame(test_flower) == 0 - @test get_dataset(test_flower) == "dataset" - @test get_noa(test_flower) == 22 - @test length(get_members(test_flower)) == 55 - @test get_type(test_flower) == "Flower" -end - @testset "Divacancy" begin @test get_id(test_divacancy) == length(test_graphene) + 1 @test get_frame(test_divacancy) == 0 @test get_dataset(test_divacancy) == "dataset" @test get_noa(test_divacancy) == 14 + @test length(get_relatives(test_divacancy)) == 10 @test length(get_members(test_divacancy)) == 33 @test get_type(test_divacancy) == "Divacancy" end +@testset "Flower" begin + @test get_id(test_flower) == length(test_graphene) + 1 + @test get_frame(test_flower) == 0 + @test get_dataset(test_flower) == "dataset" + @test get_noa(test_flower) == 22 + @test length(get_relatives(test_flower)) == 12 + @test length(get_members(test_flower)) == 55 + @test get_type(test_flower) == "Flower" +end + @testset "Butterfly" begin @test get_id(test_butterfly) == length(test_graphene) + 1 @test get_frame(test_butterfly) == 0 @test get_dataset(test_butterfly) == "dataset" @test get_noa(test_butterfly) == 30 + @test length(get_relatives(test_butterfly)) == 14 @test length(get_members(test_butterfly)) == 77 @test get_type(test_butterfly) == "Butterfly" end